[gnome-clocks] Always use two digits for centiseconds in lap times
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Always use two digits for centiseconds in lap times
- Date: Fri, 15 Mar 2013 17:36:52 +0000 (UTC)
commit 68855c71cf8bf92a86445fe8de9d0895b7f0a146
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Mar 15 18:35:07 2013 +0100
Always use two digits for centiseconds in lap times
src/stopwatch.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/stopwatch.vala b/src/stopwatch.vala
index ff74748..7620cea 100644
--- a/src/stopwatch.vala
+++ b/src/stopwatch.vala
@@ -173,16 +173,16 @@ public class MainPanel : Gtk.Box, Clocks.Clock {
string split_label;
if (split_h > 0) {
- split_label = "%i∶%02i∶%02i.%i".printf (split_h, split_m, split_s, split_cs);
+ split_label = "%i∶%02i∶%02i.%02i".printf (split_h, split_m, split_s, split_cs);
} else {
- split_label = "%02i∶%02i.%i".printf (split_m, split_s, split_cs);
+ split_label = "%02i∶%02i.%02i".printf (split_m, split_s, split_cs);
}
string tot_label;
if (h > 0) {
- tot_label = "%i∶%02i∶%02i.%i".printf (h, m, s, cs);
+ tot_label = "%i∶%02i∶%02i.%02i".printf (h, m, s, cs);
} else {
- tot_label = "%02i∶%02i.%i".printf (m, s, cs);
+ tot_label = "%02i∶%02i.%02i".printf (m, s, cs);
}
Gtk.TreeIter i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]