X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4f964122df05b83a7753ea50fb0831b9781822d..5ea4780630b335a1b8b2d3a94c0b82e46f4c56f6:/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