Fixed missing time stamp in status messages on Windows.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@836 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2006-09-26 16:54:20 +00:00
parent c20171288d
commit cef263b7c7

View File

@ -1236,7 +1236,7 @@ gchar *utils_get_current_time_string()
const struct tm *tmval = localtime(&tp);
gchar *result = g_malloc0(9);
strftime(result, 9, "%T", tmval);
strftime(result, 9, "%H:%M:%S", tmval);
result[8] = '\0';
return result;
}