X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48a84964c6400fddc79651ef6d74d7a979207ef1..54c13c66d2c465ae00fc4e59c29312bb16eccdc4:/src/msw/utils.cpp diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 9f4ffbc76c..35c2de8be9 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -156,7 +156,7 @@ bool wxGetUserId(wxChar *buf, int maxSize) if ( ::GetUserName(buf, &nSize) == 0 ) { // actually, it does happen on Win9x if the user didn't log on - DWORD res = ::GetEnvironmentVariable("username", buf, maxSize); + DWORD res = ::GetEnvironmentVariable(_T("username"), buf, maxSize); if ( res == 0 ) { // not found