vala r1781 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1781 - in trunk: . vala
- Date: Thu, 25 Sep 2008 13:29:59 +0000 (UTC)
Author: juergbi
Date: Thu Sep 25 13:29:59 2008
New Revision: 1781
URL: http://svn.gnome.org/viewvc/vala?rev=1781&view=rev
Log:
2008-09-25 JÃrg Billeter <j bitron ch>
* vala/valastringliteral.vala:
Fix processing of non-ASCII string literals,
patch by Alexey Lubimov, fixes bug 547236
Modified:
trunk/ChangeLog
trunk/THANKS
trunk/vala/valastringliteral.vala
Modified: trunk/THANKS
==============================================================================
--- trunk/THANKS (original)
+++ trunk/THANKS Thu Sep 25 13:29:59 2008
@@ -3,6 +3,7 @@
Abderrahim Kitouni
Alberto Ruiz
Alexandre Moreira
+Alexey Lubimov
Ali Sabil
Amos Brocco
Andrea Del Signore
Modified: trunk/vala/valastringliteral.vala
==============================================================================
--- trunk/vala/valastringliteral.vala (original)
+++ trunk/vala/valastringliteral.vala Thu Sep 25 13:29:59 2008
@@ -54,7 +54,7 @@
}
/* remove quotes */
- var noquotes = value.offset (1).ndup ((uint) (value.len () - 2));
+ var noquotes = value.substring (1, (uint) (value.len () - 2));
/* unescape string */
return noquotes.compress ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]