From d8f71a6d1c42e415e84ccec0f428b7da19a8c475 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 30 Sep 2003 17:34:23 +0000 Subject: [PATCH] oops, temp - 1, not temp - -1. --- stepmania/PBProject/Installer/BuildInstaller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/PBProject/Installer/BuildInstaller.cpp b/stepmania/PBProject/Installer/BuildInstaller.cpp index 6952098a0c..79db869690 100644 --- a/stepmania/PBProject/Installer/BuildInstaller.cpp +++ b/stepmania/PBProject/Installer/BuildInstaller.cpp @@ -61,7 +61,7 @@ const CString GetPath(const CString& ID) if ((size_t temp = strlen(path))) { if (path[temp - 1] == '\n') - path[temp - -1] = '\000'; + path[temp - 1] = '\000'; } ASSERT(ptr); while (*ptr != '\000' && (*ptr == ' ' || *ptr == '\t'))