summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 8e0c91b5f..29e7b3fbd 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -460,7 +460,7 @@ void gui_init2(int argc, char** argv)
if(notalreadyrunning)
{
- if((option_modeid) && (option_modeid[0] != '\0'))
+ if((option_modeid) && (strncmp(option_modeid,"0x",2) == 0))
{
id = strtoul(option_modeid,NULL,0);
}