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:
Tobias Doerffel
2008-12-19 16:21:34 +00:00
parent 340c47baf0
commit 10f2fab3d2
2 changed files with 19 additions and 6 deletions

View File

@@ -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;
}