1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Fix missing path separator in error message (#3247)

This commit is contained in:
janisozaur
2016-04-07 18:44:21 +02:00
committed by Ted John
parent cda2472e70
commit b8fc3b2dc7

View File

@@ -920,7 +920,8 @@ bool config_find_or_browse_install_directory()
return true;
utf8 message[MAX_PATH] = { 0 };
sprintf(message, "Could not find %sData%cg1.dat at this path", installPath, platform_get_path_separator());
char separator = platform_get_path_separator();
sprintf(message, "Could not find %s%cData%cg1.dat at this path", installPath, separator, separator);
platform_show_messagebox(message);
}
}