[gnome-chess] Use the correct ratio character for the time label
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Use the correct ratio character for the time label
- Date: Mon, 24 Mar 2014 14:47:35 +0000 (UTC)
commit da695c6cc43db4c52a4410aa2d8e743811cef949
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Mar 23 23:21:50 2014 -0500
Use the correct ratio character for the time label
https://bugzilla.gnome.org/show_bug.cgi?id=726954
src/gnome-chess.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index cfae17e..6a460e3 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1428,9 +1428,9 @@ public class Application : Gtk.Application
time = game.clock.black_initial_seconds - game.clock.black_seconds_used;
if (time >= 60)
- return "%d:%02d".printf (time / 60, time % 60);
+ return "%d∶%02d".printf (time / 60, time % 60);
else
- return ":%02d".printf (time);
+ return "∶%02d".printf (time);
}
private void draw_time (Gtk.Widget widget, Cairo.Context c, string text, double[] fg, double[] bg)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]