summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index ce2b28f16b..82de1663bf 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -707,6 +707,8 @@ void set_option(char* string, int* variable, char* options[],
707#endif 707#endif
708 if ( *variable < (numoptions-1) ) 708 if ( *variable < (numoptions-1) )
709 (*variable)++; 709 (*variable)++;
710 else
711 (*variable) -= (numoptions-1);
710 break; 712 break;
711 713
712#ifdef HAVE_RECORDER_KEYPAD 714#ifdef HAVE_RECORDER_KEYPAD
@@ -718,6 +720,8 @@ void set_option(char* string, int* variable, char* options[],
718#endif 720#endif
719 if ( *variable > 0 ) 721 if ( *variable > 0 )
720 (*variable)--; 722 (*variable)--;
723 else
724 (*variable) += (numoptions-1);
721 break; 725 break;
722 726
723#ifdef HAVE_RECORDER_KEYPAD 727#ifdef HAVE_RECORDER_KEYPAD