Corrected comments. It's a 0 byte, not a NULL pointer.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19625 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2006-12-25 22:02:01 +00:00
parent 3379428150
commit f3001f6a1d

View File

@ -59,7 +59,7 @@ UTF8PreviousCharLen(const char *text, const char *limit)
/*! UTF8CountBytes gets the length (in bytes) of a UTF8 string. Up to
numChars characters are read. If numChars is a negative value it is ignored
and the string is read up to the terminating NULL.
and the string is read up to the terminating 0.
*/
static inline uint32
UTF8CountBytes(const char *bytes, int32 numChars)
@ -111,7 +111,7 @@ UTF8CountBytes(const char *bytes, int32 numChars)
/*! UTF8CountChars gets the length (in characters) of a UTF8 string. Up to
numBytes bytes are read. If numBytes is a negative value it is ignored
and the string is read up to the terminating NULL.
and the string is read up to the terminating 0.
*/
static inline uint32
UTF8CountChars(const char *bytes, int32 numBytes)