From 8ff9e0cbff38e092b62dd55df4136aea2c8bff44 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 4 Dec 2011 15:52:35 +0100 Subject: 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. --- common/util.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'common/util.h') 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 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) -- cgit v1.2.3