[gcalctool/vala] Fix base conversion



commit af67e475068ede6fd90c979cb3b533c2c0ecca67
Author: Robert Ancell <robert ancell canonical com>
Date:   Sat Oct 13 09:23:43 2012 +1300

    Fix base conversion

 src/math-buttons.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index e93d8b2..a00e108 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -174,18 +174,18 @@ public class MathButtons : Gtk.Box
         var number_base = equation.number_base;
         var label = "";
         if (number_base != 8)
-            label += "%llioâ".printf (bits);
+            label += "%lloâ".printf (bits);
         if (number_base != 10)
         {
             if (label != "")
                 label += " = ";
-            label += "%lliuââ".printf (bits);
+            label += "%lluââ".printf (bits);
         }
         if (number_base != 16)
         {
             if (label != "")
                 label += " = ";
-            label += "%lliXââ".printf (bits);
+            label += "%llXââ".printf (bits);
         }
 
         base_label.set_text (label);



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