mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(trunk gtk) #1625: strftime() fails in preferences dialog for some locales
This commit is contained in:
parent
dfcc9173e5
commit
633615c2a5
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue