(svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken.

This commit is contained in:
peter1138 2008-03-19 20:46:56 +00:00
parent 031c9da01c
commit ab7542e912
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,8 @@ static inline bool IsPrintable(WChar c)
}
/**
* 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 @@ static inline bool IsWhitespace(WChar c)
{
return
c == 0x0020 /* SPACE */ ||
c == 0x00A0 /* NO-BREAK SPACE */ ||
c == 0x3000 /* IDEOGRAPHIC SPACE */
;
}