1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix #4596: Failed to build on MSVC 2015 Update 3, problem with file encoding

This ellipsis character is causing compiling issue on Windows 10 system in Chinese language.
This commit is contained in:
王少东
2016-10-14 23:43:37 +08:00
committed by Ted John
parent 41dfbed6aa
commit 5fa5f29fc4

View File

@@ -246,7 +246,7 @@ static void execute_cmd(char *command, int *exit_value, char *buf, size_t *buf_s
if (buf && buf_size) {
n_chars = fread(buf, 1, *buf_size, f);
// some commands may return a new-line terminated result, trim that
// some commands may return a new-line terminated result, trim that
if (n_chars > 0 && buf[n_chars - 1] == '\n') {
buf[n_chars - 1] = '\0';
}