diff options
| -rwxr-xr-x | macosx/plugins/Bladesio1/macsrc/PluginConfigController.m | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m index bce4a722..70ba4970 100755 --- a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m +++ b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m @@ -139,9 +139,16 @@ void ReadConfig() int player; switch ([playerMenu indexOfSelectedItem]) { default: - case 0: player = PLAYER_DISABLED; break; - case 1: player = PLAYER_MASTER; break; - case 2: player = PLAYER_SLAVE; break; + case 0: + player = PLAYER_DISABLED; + break; + + case 1: + player = PLAYER_MASTER; + break; + case 2: + player = PLAYER_SLAVE; + break; } writeDic[kSioPlayer] = @(player); } |
