SF.net SVN: geany:[2965] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Wed Sep 17 18:03:52 UTC 2008


Revision: 2965
          http://geany.svn.sourceforge.net/geany/?rev=2965&view=rev
Author:   eht16
Date:     2008-09-17 18:03:52 +0000 (Wed, 17 Sep 2008)

Log Message:
-----------
Display SVN revision number in version information if available.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-09-17 18:02:55 UTC (rev 2964)
+++ trunk/ChangeLog	2008-09-17 18:03:52 UTC (rev 2965)
@@ -9,6 +9,8 @@
    API changes:
    Rename sci_can_copy() into sci_has_selection().
    Rename sci_find_bracematch() into sci_find_matching_brace().
+ * src/main.c:
+   Display SVN revision number in version information if available.
 
 
 2008-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2008-09-17 18:02:55 UTC (rev 2964)
+++ trunk/src/main.c	2008-09-17 18:03:52 UTC (rev 2965)
@@ -759,8 +759,9 @@
 	}
 #endif
 
-	geany_debug("Geany %s, GTK+ %u.%u.%u, GLib %u.%u.%u",
+	geany_debug("Geany %s%s, GTK+ %u.%u.%u, GLib %u.%u.%u",
 		VERSION,
+		(utils_str_equal(REVISION, "-1")) ? "" : " svn >= " REVISION,
 		gtk_major_version, gtk_minor_version, gtk_micro_version,
 		glib_major_version, glib_minor_version, glib_micro_version);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list