diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-01-21 16:49:14 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-01-21 16:49:14 +0000 |
commit | b23f55c81bca21de7841111ace809df0f6408d65 (patch) | |
tree | 2c7490c6936d7c68d1974aae1ec669f1a48e5abd /frontends/atari/settings.c | |
parent | e96bf013394c0dd06cb25e666e8c68d22c12a318 (diff) | |
download | netsurf-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.c | 4 |
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; |