From 00c03b9a0d06c3cde47941cef3605162fab0205c Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Sat, 27 Apr 2002 20:48:13 +0000 Subject: Fixed the tempo argument. svn-id: r4115 --- gameDetector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gameDetector.cpp') diff --git a/gameDetector.cpp b/gameDetector.cpp index 71e79519c1..cc364a653c 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -210,8 +210,8 @@ void GameDetector::parseCommandLine(int argc, char **argv) s = GET_VALUE(); if (*s == '\0') goto ShowHelpAndExit; - _gameTempo = strtol(s + 1, 0, 0); - scummcfg->set("tempo", s + 1); + _gameTempo = strtol(s, 0, 0); + scummcfg->set("tempo", s); goto NextArg; case 'v': printf("ScummVM " SCUMMVM_VERSION "\nBuilt on " __DATE__ " " -- cgit v1.2.3