From 36cff08e99dc59a92e410e0f2984e237b6e69fd1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 14 Dec 2002 21:30:24 +0000 Subject: [PATCH] Fix KSF loading. --- stepmania/src/MsdFile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/MsdFile.cpp b/stepmania/src/MsdFile.cpp index b0d6a101cb..c2ef4dc268 100644 --- a/stepmania/src/MsdFile.cpp +++ b/stepmania/src/MsdFile.cpp @@ -195,6 +195,10 @@ void MsdFile::ReadBuf( char *buf, int len ) i++; } + + /* Add any unterminated value at the very end. */ + if(ReadingValue) + AddParam(buf+value_start, i - value_start); } // returns true if successful, false otherwise