X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdbce971ecd2a3f39ddcc56c0ef7769663fbdf23..681e44128670bd58c09ff9b42af52666635b19a6:/src/palmos/utils.cpp diff --git a/src/palmos/utils.cpp b/src/palmos/utils.cpp index 81db337f9b..f9f5806ec8 100644 --- a/src/palmos/utils.cpp +++ b/src/palmos/utils.cpp @@ -90,7 +90,7 @@ bool wxGetUserName(wxChar *buf, int maxSize) return false; } - wxStrncpy (buf, wxConvertMB2WX(id), maxSize - 1); + wxStrncpy (buf, wxSafeConvertMB2WX(id), maxSize - 1); // free the buffer MemPtrUnlock(id);