fix non-windows compilation, maybe. could be bugged, didnt test
This commit is contained in:
parent
3511e14ac6
commit
1bde1c28ac
|
@ -247,7 +247,7 @@ void PathInfo::ReadKeyW(char *pathToRead, const wchar_t *key)
|
|||
strcpy(pathToRead,wcstombs((std::wstring)wpath).c_str());
|
||||
#else
|
||||
//since the variables are all intialized in this file they all use MAX_PATH
|
||||
GetDefaultPath(pathToRead, key, MAX_PATH);
|
||||
GetDefaultPath(pathToRead, wcstombs((std::wstring)key).c_str(), MAX_PATH);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue