1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

(trunk gtk) #1625: strftime() fails in preferences dialog for some locales

This commit is contained in:
Charles Kerr 2008-12-23 20:42:26 +00:00
parent dfcc9173e5
commit 633615c2a5

View file

@ -1054,7 +1054,7 @@ new_time_combo( GObject * core,
tm.tm_hour = i / 60; tm.tm_hour = i / 60;
tm.tm_min = i % 60; tm.tm_min = i % 60;
tm.tm_sec = 0; tm.tm_sec = 0;
strftime( buf, sizeof( buf ), "%X", &tm ); strftime( buf, sizeof( buf ), "%H:%M", &tm );
gtk_list_store_append( store, &iter ); gtk_list_store_append( store, &iter );
gtk_list_store_set( store, &iter, 0, i, 1, buf, -1 ); gtk_list_store_set( store, &iter, 0, i, 1, buf, -1 );
} }