From ff6dda8f2aafd7214cffa62dbd23c3edcdbf9a00 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 2 Nov 2003 12:54:16 +0000 Subject: [PATCH] nextLine has already been incremented. Pushing it onto the return stack incremented again skips a line of the install script. --- stepmania/PBProject/Installer/Processor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/PBProject/Installer/Processor.cpp b/stepmania/PBProject/Installer/Processor.cpp index 69c5733f2a..268830291c 100644 --- a/stepmania/PBProject/Installer/Processor.cpp +++ b/stepmania/PBProject/Installer/Processor.cpp @@ -186,7 +186,7 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine) mLabel = parts[1]; if (mLabels.find(mLabel) != mLabels.end()) { - mReturnStack.push(nextLine + 1); + mReturnStack.push(nextLine); nextLine = mLabels[mLabel]; mLabel = ""; return; @@ -209,7 +209,7 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine) { return; } - mReturnStack.push(nextLine + 1); + mReturnStack.push(nextLine); if (mLabels.find(mLabel) != mLabels.end()) { nextLine = mLabels[mLabel];