summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2023-09-22 09:57:48 -0400
committerSolomon Peachy <pizza@shaftnet.org>2023-09-22 10:00:46 -0400
commit8cc3266b2a172a51dc12d05e8e1a06485b895e48 (patch)
treef45e7c9e273037d2f4ea0c72b740c4241458eeb2 /apps/plugins/wormlet.c
parentcb3a6877fcbb001a8ee9afd3e4a25579ac40f805 (diff)
downloadrockbox-8cc3266b2a172a51dc12d05e8e1a06485b895e48.tar.gz
rockbox-8cc3266b2a172a51dc12d05e8e1a06485b895e48.zip
Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL
....Because INT and BOOL are already defined in mingw32. Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index abdb6a4725..7dd814bc08 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -2562,24 +2562,24 @@ enum plugin_status plugin_start(const void* parameter)
2562 case 3: 2562 case 3:
2563 switch(players) { 2563 switch(players) {
2564 case 0: 2564 case 0:
2565 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, 2565 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
2566 nokey_option, 1, NULL); 2566 nokey_option, 1, NULL);
2567 break; 2567 break;
2568 case 1: 2568 case 1:
2569 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, 2569 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
2570 key24_option, 2, NULL); 2570 key24_option, 2, NULL);
2571 break; 2571 break;
2572 case 2: 2572 case 2:
2573#ifdef REMOTE 2573#ifdef REMOTE
2574 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, 2574 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
2575 remote_option, 2, NULL); 2575 remote_option, 2, NULL);
2576#else 2576#else
2577 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, 2577 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
2578 key2_option, 1, NULL); 2578 key2_option, 1, NULL);
2579#endif 2579#endif
2580 break; 2580 break;
2581 case 3: 2581 case 3:
2582 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, 2582 rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
2583 remoteonly_option, 1, NULL); 2583 remoteonly_option, 1, NULL);
2584 break; 2584 break;
2585 } 2585 }
@@ -2608,7 +2608,7 @@ enum plugin_status plugin_start(const void* parameter)
2608 break; 2608 break;
2609 case 9: 2609 case 9:
2610 new_setting = 0; 2610 new_setting = 0;
2611 rb->set_option(rb->str(LANG_RESET), &new_setting, INT, noyes , 2, NULL); 2611 rb->set_option(rb->str(LANG_RESET), &new_setting, RB_INT, noyes , 2, NULL);
2612 if (new_setting == 1) 2612 if (new_setting == 1)
2613 default_settings(); 2613 default_settings();
2614 break; 2614 break;