nutjunkie / IQmol

IQmol is an open source molecular editor and visualization package
GNU General Public License v3.0
100 stars 47 forks source link

[SelectHandler.C:52] -> [SelectHandler.C:52]: (style) Same expression on both sides of '&&'. #1

Closed dcb314 closed 10 years ago

dcb314 commented 10 years ago

Source code is

bool click((m_rectangle.width() < 3) && (m_rectangle.width() < 3));

Maybe

bool click((m_rectangle.width() < 3) && (m_rectangle.height() < 3));

would be better code.

nutjunkie commented 10 years ago

Yes, thank you.