mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Use SDL_FALLTHROUGH if available
The SDL_FALLTHROUGH macro has been added to SDL 2.0.18. Until 2.0.18 is released, use it if it's available.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "Map.h"
|
||||
#include "Music.h"
|
||||
#include "Screen.h"
|
||||
#include "TempSDLFallthrough.h"
|
||||
#include "UtilityClass.h"
|
||||
#include "Vlogging.h"
|
||||
|
||||
@@ -591,7 +592,7 @@ bool Graphics::next_wrap(
|
||||
break;
|
||||
case '\n':
|
||||
*start += 1;
|
||||
VVV_fallthrough;
|
||||
SDL_FALLTHROUGH;
|
||||
case '\0':
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user