diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-05-31 23:25:05 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-05-31 23:25:05 +0100 |
commit | 8b586b2d67dad1f7d874091664ab582936e15dc4 (patch) | |
tree | 30e06f7ee5d57edf0d882ff98ac82f5eb3bb67cd /amiga/arexx.c | |
parent | 864762cbe60d04ba978ddbd9bf125240dd26f631 (diff) | |
download | netsurf-8b586b2d67dad1f7d874091664ab582936e15dc4.tar.gz netsurf-8b586b2d67dad1f7d874091664ab582936e15dc4.tar.bz2 |
Fix a crash when edit settings if NetSurf is running on the WB screen
Rename use_pubscreen to make it clearer what the option is for
Diffstat (limited to 'amiga/arexx.c')
-rw-r--r-- | amiga/arexx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/arexx.c b/amiga/arexx.c index 5ff7792c0..ed05f6c16 100644 --- a/amiga/arexx.c +++ b/amiga/arexx.c @@ -455,13 +455,13 @@ STATIC VOID rx_pubscreen(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__ { cmd->ac_RC = 0; - if(nsoption_charp(use_pubscreen) == NULL) + if(nsoption_charp(pubscreen_name) == NULL) { strcpy(result,"NetSurf"); } else { - strcpy(result, nsoption_charp(use_pubscreen)); + strcpy(result, nsoption_charp(pubscreen_name)); } cmd->ac_Result = result; |