From: Jürg Billeter Date: Sun, 16 Aug 2009 20:30:29 +0000 (+0200) Subject: glib-2.0: Return character instead of number in char.to_string X-Git-Tag: 0.7.6~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd791295c3ee8d4d068faebcd293bb6f23523614;p=thirdparty%2Fvala.git glib-2.0: Return character instead of number in char.to_string Fixes bug 590557. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index f0b45191a..74af2ec81 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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 ();