projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a unit test for new events (see #10000)
[wxWidgets.git]
/
src
/
palmos
/
utils.cpp
diff --git
a/src/palmos/utils.cpp
b/src/palmos/utils.cpp
index 66df86593625a8d752fe90efb21142e54ab0ddae..a03694b0dc755599a27d0470cc31ff6f921c48d3 100644
(file)
--- a/
src/palmos/utils.cpp
+++ b/
src/palmos/utils.cpp
@@
-97,7
+97,7
@@
bool wxGetUserName(wxChar *buf, int maxSize)
return false;
}
- wxStr
ncpy (buf, wxSafeConvertMB2WX(id), maxSize - 1
);
+ wxStr
lcpy(buf, wxSafeConvertMB2WX(id), maxSize
);
// free the buffer
MemPtrUnlock(id);