summaryrefslogtreecommitdiff
path: root/src/render
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
parentd8528ebbbe760d1ca72842cb7a4c1389ff318e5d (diff)
parent79c652e1152cecd228a7cef9e0f4b93d051a485d (diff)
Merge pull request #588 from blingu/miami
fixed compiler errors
Diffstat (limited to 'src/render')
-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++;