summaryrefslogtreecommitdiffstats
path: root/src/render/Timecycle.cpp
diff options
context:
space:
mode:
authornrb <email.com>2020-05-24 17:27:12 +0200
committernrb <email.com>2020-05-24 17:27:12 +0200
commitd59862eb5e9b56fe5b9fb0b2332e07b5266dcd22 (patch)
treecb26faa96123be56fe3bad98a6447ae5f476b11b /src/render/Timecycle.cpp
parenthow did saving even work in original III? (diff)
downloadre3-d59862eb5e9b56fe5b9fb0b2332e07b5266dcd22.tar
re3-d59862eb5e9b56fe5b9fb0b2332e07b5266dcd22.tar.gz
re3-d59862eb5e9b56fe5b9fb0b2332e07b5266dcd22.tar.bz2
re3-d59862eb5e9b56fe5b9fb0b2332e07b5266dcd22.tar.lz
re3-d59862eb5e9b56fe5b9fb0b2332e07b5266dcd22.tar.xz
re3-d59862eb5e9b56fe5b9fb0b2332e07b5266dcd22.tar.zst
re3-d59862eb5e9b56fe5b9fb0b2332e07b5266dcd22.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 c120c003..8846fdf0 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++;