summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-26 21:27:48 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-26 21:27:48 +0000
commit98996a4a97ffc5b7919359cf74c14ae34e4696e0 (patch)
treef09a72f53fee7bc80b7e923036c1000d824e5eb5
parent00e37846b2534619b14e382284b6c5dbf5357555 (diff)
downloadnetsurf-98996a4a97ffc5b7919359cf74c14ae34e4696e0.tar.gz
netsurf-98996a4a97ffc5b7919359cf74c14ae34e4696e0.tar.bz2
Ignore screen_modeid if it isn't a hex value
svn path=/trunk/netsurf/; revision=7326
-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);
}