[vala] glib-2.0: Return character instead of number in char.to_string
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Return character instead of number in char.to_string
- Date: Sun, 16 Aug 2009 20:43:36 +0000 (UTC)
commit bd791295c3ee8d4d068faebcd293bb6f23523614
Author: Jürg Billeter <j bitron ch>
Date: Sun Aug 16 22:30:29 2009 +0200
glib-2.0: Return character instead of number in char.to_string
Fixes bug 590557.
vapi/glib-2.0.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index f0b4519..74af2ec 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]