From c5e7a878c10f2cf21bac31243e2a1161350355bf Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Fri, 19 Dec 2008 16:19:59 +0000 Subject: [PATCH] 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/trunk/lmms@1959 0778d3d1-df1d-0410-868b-ea421aaaa00d --- include/project_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/project_version.h b/include/project_version.h index b6721db25..575d1a64e 100644 --- a/include/project_version.h +++ b/include/project_version.h @@ -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; }