diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-04 03:21:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-04 03:21:57 +0300 |
commit | 485ba81a87c50c23d1f97318e42f4937af1fda1f (patch) | |
tree | b1b85f22e9bf2ea10e5fcddf3000506d207015fe /src/gui/widgets | |
parent | 554210becbfc9de611699889a3fd0f53525a1b83 (diff) | |
download | mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.gz mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.bz2 mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.xz mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.zip |
Remove some useless includes if using SDL2.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/textfield.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index 9f64b56cd..9d89dfe45 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -69,13 +69,13 @@ #ifdef USE_SDL2 #include "enums/input/keyvalue.h" -#endif +#endif // USE_SDL2 #include "gui/gui.h" #include "gui/skin.h" #ifdef ANDROID #include "gui/windowmanager.h" -#endif +#endif // ANDROID #include "gui/fonts/font.h" @@ -85,7 +85,10 @@ #include "utils/copynpaste.h" #include "utils/stringutils.h" + +#ifndef USE_SDL2 #include "utils/timer.h" +#endif // USE_SDL2 #include "render/graphics.h" |