summaryrefslogtreecommitdiff
path: root/frontends/atari/settings.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-01-21 16:49:14 +0000
committerVincent Sanders <vince@kyllikki.org>2017-01-21 16:49:14 +0000
commitb23f55c81bca21de7841111ace809df0f6408d65 (patch)
tree2c7490c6936d7c68d1974aae1ec669f1a48e5abd /frontends/atari/settings.c
parente96bf013394c0dd06cb25e666e8c68d22c12a318 (diff)
downloadnetsurf-b23f55c81bca21de7841111ace809df0f6408d65.tar.gz
netsurf-b23f55c81bca21de7841111ace809df0f6408d65.tar.bz2
fix warnings and errors in atari frontend
Diffstat (limited to 'frontends/atari/settings.c')
-rw-r--r--frontends/atari/settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/atari/settings.c b/frontends/atari/settings.c
index e186a8167..ed1fb2e45 100644
--- a/frontends/atari/settings.c
+++ b/frontends/atari/settings.c
@@ -593,7 +593,7 @@ static void form_event(int index, int external)
else
tmp_option_memory_cache_size += 1;
- if( tmp_option_memory_cache_size < 0 )
+ if( tmp_option_memory_cache_size == 0)
tmp_option_memory_cache_size = 1;
if( tmp_option_memory_cache_size > 999 )
tmp_option_memory_cache_size = 999;
@@ -610,7 +610,7 @@ static void form_event(int index, int external)
else
tmp_option_disc_cache_size += 1;
- if( tmp_option_disc_cache_size < 0 )
+ if( tmp_option_disc_cache_size == 0 )
tmp_option_disc_cache_size = 1;
if( tmp_option_disc_cache_size > 9999 )
tmp_option_disc_cache_size = 9999;