[Gpa-commits] r927 - trunk/src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jan 7 17:34:55 CET 2009
Author: marcus
Date: 2009-01-07 17:34:52 +0100 (Wed, 07 Jan 2009)
New Revision: 927
Modified:
trunk/src/ChangeLog
trunk/src/cardman.c
Log:
2009-01-07 Marcus Brinkmann <marcus at g10code.de>
* cardman.c (card_reload_cb): Nul-terminate the version string.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2008-12-18 15:50:45 UTC (rev 926)
+++ trunk/src/ChangeLog 2009-01-07 16:34:52 UTC (rev 927)
@@ -1,3 +1,7 @@
+2009-01-07 Marcus Brinkmann <marcus at g10code.de>
+
+ * cardman.c (card_reload_cb): Nul-terminate the version string.
+
2008-12-17 Werner Koch <wk at g10code.com>
* cardman.c: Change layout of file.
Modified: trunk/src/cardman.c
===================================================================
--- trunk/src/cardman.c 2008-12-18 15:50:45 UTC (rev 926)
+++ trunk/src/cardman.c 2009-01-07 16:34:52 UTC (rev 927)
@@ -191,6 +191,7 @@
if (string[2] != '0')
*p++ = string[2];
*p++ = string[3];
+ *p++ = '\0';
string = buffer;
}
gtk_entry_set_text (GTK_ENTRY (cardman->entryVersion), string);
More information about the Gpa-commits
mailing list