summaryrefslogtreecommitdiffstats
path: root/src/render/Timecycle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-26 11:39:16 +0200
committerGitHub <noreply@github.com>2020-05-26 11:39:16 +0200
commit800d706935a9ef2ccd360584416a4b24d99be718 (patch)
treeea345190077017dc3f5783cbe531f193e11ec5f6 /src/render/Timecycle.cpp
parenteSurfaceType (diff)
parentPed.h include not needed (diff)
downloadre3-800d706935a9ef2ccd360584416a4b24d99be718.tar
re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.gz
re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.bz2
re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.lz
re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.xz
re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.zst
re3-800d706935a9ef2ccd360584416a4b24d99be718.zip
Diffstat (limited to 'src/render/Timecycle.cpp')
-rw-r--r--src/render/Timecycle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Timecycle.cpp b/src/render/Timecycle.cpp
index ab94f874..28156c7e 100644
--- a/src/render/Timecycle.cpp
+++ b/src/render/Timecycle.cpp
@@ -175,7 +175,7 @@ CTimeCycle::Initialise(void)
bi++;
bi++;
}
- while(work_buff[bi] != '\n')
+ while(work_buff[bi] != '\n' || work_buff[bi] != '\0')
line[li++] = work_buff[bi++];
line[li] = '\0';
bi++;