mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 21:34:08 -07:00
Use OsPath instead of CStr and CStrW where possible,
wstring_from_utf8(OsPath.string8()) to pass printable strings to the
JSAPI,
OsString when opening a filestream and
off_t instead of int for filesizes.
Fixes #4320
Differential Revision: https://code.wildfiregames.com/D518
Reviewed By: Imarok
Tested By: Imarok on Windows, wraitii on OSX
Special thanks to Philip for advice and the lib/path.h fix in
|
||
|---|---|---|
| .. | ||
| JSInterface_ConfigDB.cpp | ||
| JSInterface_ConfigDB.h | ||
| JSInterface_Console.cpp | ||
| JSInterface_Console.h | ||
| JSInterface_Mod.cpp | ||
| JSInterface_Mod.h | ||
| JSInterface_VFS.cpp | ||
| JSInterface_VFS.h | ||
| JSInterface_VisualReplay.cpp | ||
| JSInterface_VisualReplay.h | ||