]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
Added missing files to filelist.txt and regenerated makefiles.
[wxWidgets.git] / src / msw / utils.cpp
index 9f4ffbc76ce6d2ab3cdc67be45ff696991738131..35c2de8be9a7ceeb4563f83d0b27a8aa39fa28b8 100644 (file)
@@ -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