From 82253d9f03b98a4174f2fc299ba4b812a992ff22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mikko=20Kein=C3=A4nen?= Date: Wed, 27 Oct 2010 22:50:36 +0300 Subject: [PATCH] Small fix. Now file slot can be a sole option for emulator e.g. 'emuname $1'. --- src/emulauncher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emulauncher.cpp b/src/emulauncher.cpp index 69857e1..9cdffce 100644 --- a/src/emulauncher.cpp +++ b/src/emulauncher.cpp @@ -164,7 +164,7 @@ void EmuLauncher::launchEmu() // check if command options have slots for nr media images > 1 e.g. "-diska $1 -diskb $2 ..." QString opts = exe->getOptions(); - QRegExp rx("(\\s\\$\\d+)"); + QRegExp rx("(\\$\\d+)"); QStringList list; int pos = 0; while ((pos = rx.indexIn(opts, pos)) != -1) { -- 1.7.9.5