diff options
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; |