Fix a compiler warning.

This commit is contained in:
fendrin 2013-04-13 17:15:17 +02:00
parent 0d96709a72
commit 70902724a6

View file

@ -155,7 +155,7 @@ void tristate_button::calculate_size() {
void tristate_button::set_pressed(PRESSED_STATE new_pressed_state) {
STATE new_state;
STATE new_state = state_;
switch (new_pressed_state) {
case LEFT: