r14506 - gnucash/branches/2.0 - Fix off-by-one bug that strips all spaces from imported strings. (#347472)
Derek Atkins
warlord at cvs.gnucash.org
Sat Jul 15 11:04:32 EDT 2006
Author: warlord
Date: 2006-07-15 11:04:30 -0400 (Sat, 15 Jul 2006)
New Revision: 14506
Trac: http://svn.gnucash.org/trac/changeset/14506
Modified:
gnucash/branches/2.0/
gnucash/branches/2.0/src/core-utils/gnc-glib-utils.c
Log:
Fix off-by-one bug that strips all spaces from imported strings. (#347472)
Merge from r14494.
Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
- d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:12848
+ d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:12849
Modified: gnucash/branches/2.0/src/core-utils/gnc-glib-utils.c
===================================================================
--- gnucash/branches/2.0/src/core-utils/gnc-glib-utils.c 2006-07-15 15:04:24 UTC (rev 14505)
+++ gnucash/branches/2.0/src/core-utils/gnc-glib-utils.c 2006-07-15 15:04:30 UTC (rev 14506)
@@ -110,7 +110,7 @@
((Char) < 0x110000 && \
(((Char) & 0xFFFFF800) != 0xD800) && \
((Char) < 0xFDD0 || (Char) > 0xFDEF) && \
- ((Char) > 0x20 || (Char) == 0x09 || (Char) == 0x0A || (Char) == 0x0D) && \
+ ((Char) >= 0x20 || (Char) == 0x09 || (Char) == 0x0A || (Char) == 0x0D) && \
((Char) & 0xFFFE) != 0xFFFE)
/**
More information about the gnucash-changes
mailing list