aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2011-12-04 15:52:35 +0100
committerJohannes Schickel2011-12-04 15:54:32 +0100
commit8ff9e0cbff38e092b62dd55df4136aea2c8bff44 (patch)
tree9797982dc0d9a361874b0235acd67a75b9ef05d9 /common
parent0769059f984058d7bf5f1c77f05bd426844f0048 (diff)
downloadscummvm-rg350-8ff9e0cbff38e092b62dd55df4136aea2c8bff44.tar.gz
scummvm-rg350-8ff9e0cbff38e092b62dd55df4136aea2c8bff44.tar.bz2
scummvm-rg350-8ff9e0cbff38e092b62dd55df4136aea2c8bff44.zip
GUI: Fix GUIO flags again.
The GUIO flags use an escape sequence for octal numbers. Starting with 18e84f9c1138ea4ce66cbbea53e6957bee3e588f GUIO_MIDICMS used "\008" which resulted in the CMS flag adding a zero into the flags and thus terminating the GUIO flag string.
Diffstat (limited to 'common')
-rw-r--r--common/util.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/common/util.h b/common/util.h
index 08a49f3c3a..dfa57d7259 100644
--- a/common/util.h
+++ b/common/util.h
@@ -87,19 +87,19 @@ template<typename T> inline void SWAP(T &a, T &b) { T tmp = a; a = b; b = tmp; }
#define GUIO_NOLAUNCHLOAD "\006"
#define GUIO_MIDIPCSPK "\007"
-#define GUIO_MIDICMS "\008"
-#define GUIO_MIDIPCJR "\010"
-#define GUIO_MIDIADLIB "\011"
-#define GUIO_MIDIC64 "\012"
-#define GUIO_MIDIAMIGA "\013"
-#define GUIO_MIDIAPPLEIIGS "\014"
-#define GUIO_MIDITOWNS "\015"
-#define GUIO_MIDIPC98 "\016"
-#define GUIO_MIDIMT32 "\017"
-#define GUIO_MIDIGM "\020"
-
-#define GUIO_NOASPECT "\021"
-#define GUIO_EGAUNDITHER "\022"
+#define GUIO_MIDICMS "\010"
+#define GUIO_MIDIPCJR "\011"
+#define GUIO_MIDIADLIB "\012"
+#define GUIO_MIDIC64 "\013"
+#define GUIO_MIDIAMIGA "\014"
+#define GUIO_MIDIAPPLEIIGS "\015"
+#define GUIO_MIDITOWNS "\016"
+#define GUIO_MIDIPC98 "\017"
+#define GUIO_MIDIMT32 "\020"
+#define GUIO_MIDIGM "\021"
+
+#define GUIO_NOASPECT "\022"
+#define GUIO_EGAUNDITHER "\023"
#define GUIO0() (GUIO_NONE)
#define GUIO1(a) (a)