diff options
author | aap <aap@papnet.eu> | 2020-05-26 12:10:08 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-26 12:10:08 +0200 |
commit | dfa95002aa1813f1d2f68172f32f748d83b47d2c (patch) | |
tree | d73be9762914262a8326f65c6cfee68b7046d67b /src/render | |
parent | Merge pull request #588 from blingu/miami (diff) | |
download | re3-dfa95002aa1813f1d2f68172f32f748d83b47d2c.tar re3-dfa95002aa1813f1d2f68172f32f748d83b47d2c.tar.gz re3-dfa95002aa1813f1d2f68172f32f748d83b47d2c.tar.bz2 re3-dfa95002aa1813f1d2f68172f32f748d83b47d2c.tar.lz re3-dfa95002aa1813f1d2f68172f32f748d83b47d2c.tar.xz re3-dfa95002aa1813f1d2f68172f32f748d83b47d2c.tar.zst re3-dfa95002aa1813f1d2f68172f32f748d83b47d2c.zip |
Diffstat (limited to '')
-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++; |