]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Return character instead of number in char.to_string
authorJürg Billeter <j@bitron.ch>
Sun, 16 Aug 2009 20:30:29 +0000 (22:30 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 16 Aug 2009 20:30:29 +0000 (22:30 +0200)
Fixes bug 590557.

vapi/glib-2.0.vapi

index f0b45191a128f2b1d851bfa8b2fa0e553e599a56..74af2ec810830145c5d6566b360935fef2d54365 100644 (file)
@@ -46,7 +46,7 @@ public struct bool {
 [IntegerType (rank = 2, min = 0, max = 127)]
 public struct char {
        [CCode (cname = "g_strdup_printf", instance_pos = -1)]
-       public string to_string (string format = "%hhi");
+       public string to_string (string format = "%c");
        public bool isalnum ();
        public bool isalpha ();
        public bool iscntrl ();