diff options
Diffstat (limited to 'src/render/Timecycle.cpp')
-rw-r--r-- | src/render/Timecycle.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/render/Timecycle.cpp b/src/render/Timecycle.cpp index 28156c7e..bf55d7bc 100644 --- a/src/render/Timecycle.cpp +++ b/src/render/Timecycle.cpp @@ -175,7 +175,11 @@ CTimeCycle::Initialise(void) bi++; bi++; } - while(work_buff[bi] != '\n' || work_buff[bi] != '\0') + while(work_buff[bi] != '\n' +#ifdef FIX_BUGS + && work_buff[bi] != '\0' +#endif + ) line[li++] = work_buff[bi++]; line[li] = '\0'; bi++; |