Commit e03fe5a4 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some issues found by winapi_check.

parent fcd35215
...@@ -940,7 +940,7 @@ INT __cdecl CRTDLL_vsprintf( LPSTR buffer, LPCSTR spec, va_list args ) ...@@ -940,7 +940,7 @@ INT __cdecl CRTDLL_vsprintf( LPSTR buffer, LPCSTR spec, va_list args )
} }
/********************************************************************* /*********************************************************************
* _vsprintf (CRTDLL.@) * _vsnprintf (CRTDLL.@)
*/ */
INT __cdecl CRTDLL__vsnprintf(LPSTR buffer,DWORD size,LPCSTR spec,va_list args ) INT __cdecl CRTDLL__vsnprintf(LPSTR buffer,DWORD size,LPCSTR spec,va_list args )
{ {
......
...@@ -1945,8 +1945,10 @@ BOOL WINAPI PathSetDlgItemPathAW(HWND hDlg, int id, LPCVOID pszPath) ...@@ -1945,8 +1945,10 @@ BOOL WINAPI PathSetDlgItemPathAW(HWND hDlg, int id, LPCVOID pszPath)
static char * szSHFolders = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"; static char * szSHFolders = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
static char * szSHUserFolders = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders"; static char * szSHUserFolders = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders";
#if 0
static char * szEnvUserProfile = "%USERPROFILE%"; static char * szEnvUserProfile = "%USERPROFILE%";
static char * szEnvSystemRoot = "%SYSTEMROOT%"; static char * szEnvSystemRoot = "%SYSTEMROOT%";
#endif
BOOL WINAPI SHGetSpecialFolderPathA ( BOOL WINAPI SHGetSpecialFolderPathA (
HWND hwndOwner, HWND hwndOwner,
...@@ -2533,7 +2535,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch) ...@@ -2533,7 +2535,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
} }
/************************************************************************* /*************************************************************************
* * PathMakeSystemFolderA
*/ */
BOOL WINAPI PathMakeSystemFolderA(LPCSTR pszPath) BOOL WINAPI PathMakeSystemFolderA(LPCSTR pszPath)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment