[gnome-nibbles/gnome-3-22] Fix wrong printf format specifier



commit 2c5618700399d8298048ea51413c380c6fc59f42
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Tue Nov 8 07:19:31 2016 +0200

    Fix wrong printf format specifier

 src/gnome-nibbles.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 84bc636..1464b22 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -975,7 +975,7 @@ public class Nibbles : Gtk.Application
         score_label.show ();
 
         var points_left = lowest_high_score - score;
-        var points_left_label = new Gtk.Label (_("(%d more points to reach the leaderboard)").printf 
(points_left));
+        var points_left_label = new Gtk.Label (_("(%f more points to reach the leaderboard)").printf 
(points_left));
         points_left_label.halign = Gtk.Align.CENTER;
         points_left_label.valign = Gtk.Align.START;
         points_left_label.set_margin_top (window_height / 3 + 100);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]