[geany/geany-plugins] 0d0086: Updatechecker: Fix comparing major versions. Didn't work when major has increased but minor didn't

Frank Lanitz git-noreply at xxxxx
Thu Nov 7 14:50:09 UTC 2013


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Thu, 07 Nov 2013 14:50:09 UTC
Commit:      0d00861e392da85c8126a87cb4ec0af90ed2fe5e
             https://github.com/geany/geany-plugins/commit/0d00861e392da85c8126a87cb4ec0af90ed2fe5e

Log Message:
-----------
Updatechecker: Fix comparing major versions. Didn't work when major has increased but minor didn't


Modified Paths:
--------------
    updatechecker/src/updatechecker.c

Modified: updatechecker/src/updatechecker.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -143,7 +143,7 @@ static void parse_version_string(const gchar *ver, gint *major, gint *minor,
     }
     else
     {
-        major = 0;
+        *major = 0;
     }
     g_strfreev(vers);
 }



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list