[libgnome-games-support] Fix wrong printf format specifier
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-games-support] Fix wrong printf format specifier
- Date: Sat, 19 Nov 2016 15:41:58 +0000 (UTC)
commit db072299cf9a234142c7682bca4f01538eb3c35c
Author: Alexandru Lincan <alexandru lincan stud acs upb ro>
Date: Sat Nov 19 17:24:24 2016 +0200
Fix wrong printf format specifier
https://bugzilla.gnome.org/show_bug.cgi?id=774723
games/scores/dialog.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/games/scores/dialog.vala b/games/scores/dialog.vala
index 5a16eea..029a107 100644
--- a/games/scores/dialog.vala
+++ b/games/scores/dialog.vala
@@ -275,9 +275,9 @@ private class Dialog : Gtk.Dialog
var seconds = x.score % 60;
score.set_text ("%s %s".printf (
/* Time which may be displayed on a scores dialog. */
- ngettext ("%d minute", "%d minutes", minutes).printf (minutes),
+ ngettext ("%ld minute", "%ld minutes", minutes).printf (minutes),
/* Time which may be displayed on a scores dialog. */
- ngettext ("%d second", "%d seconds", seconds).printf (seconds)));
+ ngettext ("%ld second", "%ld seconds", seconds).printf (seconds)));
}
if (new_high_score != null && Score.equals (x, new_high_score))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]