mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
- attempt to get non ascii file paths working in megaglest (Japanese etc...)
This commit is contained in:
@@ -91,7 +91,11 @@ void AllocRegistry::reset(){
|
||||
}
|
||||
|
||||
void AllocRegistry::dump(const char *path){
|
||||
#ifdef WIN32
|
||||
FILE* f= = _wfopen(utf8_decode(path).c_str(), L"wt");
|
||||
#else
|
||||
FILE *f= fopen(path, "wt");
|
||||
#endif
|
||||
int leakCount=0;
|
||||
size_t leakBytes=0;
|
||||
|
||||
|
Reference in New Issue
Block a user