From f3001f6a1dc10579f9282253528c90345a53c5ca Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Mon, 25 Dec 2006 22:02:01 +0000 Subject: [PATCH] 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 --- headers/private/interface/utf8_functions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/private/interface/utf8_functions.h b/headers/private/interface/utf8_functions.h index a0edf3b056..accb2ae238 100644 --- a/headers/private/interface/utf8_functions.h +++ b/headers/private/interface/utf8_functions.h @@ -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)