r18824 - gnucash/trunk/src/libqof/qof - Add missing NULL sentinel at end of g_strconcat() function call

Phil Longstaff plongstaff at code.gnucash.org
Thu Mar 4 16:39:47 EST 2010


Author: plongstaff
Date: 2010-03-04 16:39:47 -0500 (Thu, 04 Mar 2010)
New Revision: 18824
Trac: http://svn.gnucash.org/trac/changeset/18824

Modified:
   gnucash/trunk/src/libqof/qof/qof-win32.c
Log:
Add missing NULL sentinel at end of g_strconcat() function call


Modified: gnucash/trunk/src/libqof/qof/qof-win32.c
===================================================================
--- gnucash/trunk/src/libqof/qof/qof-win32.c	2010-03-04 21:20:28 UTC (rev 18823)
+++ gnucash/trunk/src/libqof/qof/qof-win32.c	2010-03-04 21:39:47 UTC (rev 18824)
@@ -104,7 +104,7 @@
     case QOF_WIN32_PICTURE_DATETIME:
         tmp1 = get_win32_locale_string(LOCALE_SSHORTDATE);
         tmp2 = get_win32_locale_string(LOCALE_STIMEFORMAT);
-        locale_string = g_strconcat(tmp1, " ", tmp2);
+        locale_string = g_strconcat(tmp1, " ", tmp2, NULL);
         g_free(tmp1);
         g_free(tmp2);
         break;



More information about the gnucash-changes mailing list