From 18063f38ffb44e7b6f38f36ebdbaa5984c98529d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 2 Nov 2017 01:02:17 +0100 Subject: [PATCH] Update comment describing wxMBConv::cMB2WC() and cWC2MB() Don't say that these functions return NULL pointers when they don't return pointers at all any more (and since quite some time). --- include/wx/strconv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/strconv.h b/include/wx/strconv.h index d816bc43d9..d2f6fe4a8c 100644 --- a/include/wx/strconv.h +++ b/include/wx/strconv.h @@ -71,8 +71,8 @@ public: const wchar_t *src, size_t srcLen = wxNO_LEN) const; - // Convenience functions for translating NUL-terminated strings: returns - // the buffer containing the converted string or NULL pointer if the + // Convenience functions for translating NUL-terminated strings: return + // the buffer containing the converted string or empty buffer if the // conversion failed. const wxWCharBuffer cMB2WC(const char *in) const; const wxCharBuffer cWC2MB(const wchar_t *in) const;