From 8cc3266b2a172a51dc12d05e8e1a06485b895e48 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 22 Sep 2023 09:57:48 -0400 Subject: Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL ....Because INT and BOOL are already defined in mingw32. Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0 --- apps/plugins/wormlet.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'apps/plugins/wormlet.c') 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) case 3: switch(players) { case 0: - rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, + rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT, nokey_option, 1, NULL); break; case 1: - rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, + rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT, key24_option, 2, NULL); break; case 2: #ifdef REMOTE - rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, + rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT, remote_option, 2, NULL); #else - rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, + rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT, key2_option, 1, NULL); #endif break; case 3: - rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT, + rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT, remoteonly_option, 1, NULL); break; } @@ -2608,7 +2608,7 @@ enum plugin_status plugin_start(const void* parameter) break; case 9: new_setting = 0; - rb->set_option(rb->str(LANG_RESET), &new_setting, INT, noyes , 2, NULL); + rb->set_option(rb->str(LANG_RESET), &new_setting, RB_INT, noyes , 2, NULL); if (new_setting == 1) default_settings(); break; -- cgit v1.2.3