Patch level :2.1 nopatch

Files correlati     :xvagadll.dll
Ricompilazione Demo : [ ]
Commento            :eliminati 2 errori di compilazione


git-svn-id: svn://10.65.10.50/trunk@11927 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2004-03-31 13:21:48 +00:00
parent c66bc47a3b
commit e333c5c9af
2 changed files with 2 additions and 3 deletions

View File

@ -806,8 +806,7 @@ bool OsWin32_Speak(const char* text, bool async)
int OsWin32_GetSessionId() int OsWin32_GetSessionId()
{ {
char str[32]; const wxString str = wxGetUserId();
xvt_sys_get_user_name(str, sizeof(str));
unsigned short h = 0; unsigned short h = 0;
for (const char* s = str; *s; s++) for (const char* s = str; *s; s++)

View File

@ -797,7 +797,7 @@ const char* xvt_fsys_get_campo_ini()
} }
} }
} }
if (xvt_sys_get_os_version() < XVT_OS_WINDOWS_NT) if (xvt_sys_get_os_version() < XVT_WS_WIN_NT)
*username = '\0'; *username = '\0';
#endif #endif
if (!bFound) if (!bFound)