From dfa95002aa1813f1d2f68172f32f748d83b47d2c Mon Sep 17 00:00:00 2001 From: aap Date: Tue, 26 May 2020 12:10:08 +0200 Subject: [PATCH] fix --- src/render/Timecycle.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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++;