call-display: Display two digits for minutes

This matches the final design.
This commit is contained in:
Adrien Plazas
2018-07-27 09:45:06 +02:00
parent 509f4227d9
commit 152c89ea79
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ timeout_cb (CallsCallDisplay *self)
}
minutes = (guint)(elapsed / MINUTE);
g_string_append_printf (str, "%u:", minutes);
g_string_append_printf (str, "%02u:", minutes);
elapsed -= (minutes * MINUTE);
g_string_append_printf (str, "%02u", (guint)elapsed);