(svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken.
authorpeter1138
Wed, 19 Mar 2008 20:46:56 +0000
changeset 9207 2b390a312384
parent 9206 12d35b56014c
child 9208 f376b12acb1b
(svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken.
src/string_func.h
--- a/src/string_func.h	Wed Mar 19 20:42:05 2008 +0000
+++ b/src/string_func.h	Wed Mar 19 20:46:56 2008 +0000
@@ -142,7 +142,8 @@
 }
 
 /**
- * Check whether UNICODE character is whitespace or not
+ * Check whether UNICODE character is whitespace or not, i.e. whether
+ * this is a potential line-break character.
  * @param c UNICODE character to check
  * @return a boolean value whether 'c' is a whitespace character or not
  * @see http://www.fileformat.info/info/unicode/category/Zs/list.htm
@@ -151,7 +152,6 @@
 {
 	return
 	  c == 0x0020 /* SPACE */ ||
-	  c == 0x00A0 /* NO-BREAK SPACE */ ||
 	  c == 0x3000 /* IDEOGRAPHIC SPACE */
 	;
 }