Remove warnings with GCC 7

GCC 7 introduced a new warning in switch() statements :
warning: this statement may fall through [-Wimplicit-fallthrough=]
This commit is contained in:
Thomas Bernard
2018-10-17 16:42:54 +02:00
parent 7f52eb9711
commit 725da6307e
6 changed files with 17 additions and 1 deletions

View File

@@ -538,7 +538,7 @@ void Button_Grid_menu(void)
Window_input_content(input_dy_button,str);
Display_cursor();
break;
case 7:
snapgrid = !snapgrid;
Hide_cursor();