stratagus-game-launcher.h - Path to data must be escaped on Windows
This fix problems that on Windows wargus.exe binary do nothing...
This commit is contained in:
parent
5266501f04
commit
9e666b6bbd
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ int main(int argc, char * argv[]) {
|
|||
if ( chdir(stratagus_path) != 0 ) {
|
||||
error(TITLE, STRATAGUS_NOT_FOUND);
|
||||
}
|
||||
strcpy(scripts_path, data_path);
|
||||
sprintf(scripts_path, "\"%s\"", data_path);
|
||||
sprintf(stratagus_bin, "%s\\stratagus.exe", stratagus_path);
|
||||
#else
|
||||
strcpy(data_path, DATA_PATH);
|
||||
|
|
Loading…
Reference in a new issue