fixed broken version comparing which indicated 0.x.y to be less than 0.x.y-patch - fixes messed up projects when loading files created with LMMS 0.4.0
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1961 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
inline bool operator<( const projectVersion & _v1, const char * _str )
|
||||
{
|
||||
return( projectVersion::compare( _v1, projectVersion( _str ) ) < 0 );
|
||||
return projectVersion::compare( _v1, projectVersion( _str ) ) < 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user