diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-27 22:27:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-27 22:27:39 +0300 |
commit | 4102bb248ed5f5efcd81d317a876318c91bad4d6 (patch) | |
tree | 738800bc14ade7397ff98f036e3bf5500715e63e /src/utils/sdlhelper.cpp | |
parent | beb426326518da97747cb5dce6773a13a96ceb2a (diff) | |
download | manaplus-4102bb248ed5f5efcd81d317a876318c91bad4d6.tar.gz manaplus-4102bb248ed5f5efcd81d317a876318c91bad4d6.tar.bz2 manaplus-4102bb248ed5f5efcd81d317a876318c91bad4d6.tar.xz manaplus-4102bb248ed5f5efcd81d317a876318c91bad4d6.zip |
fix code style and issues with different builds.
Diffstat (limited to 'src/utils/sdlhelper.cpp')
-rw-r--r-- | src/utils/sdlhelper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/sdlhelper.cpp b/src/utils/sdlhelper.cpp index da81f03ea..1511bedb1 100644 --- a/src/utils/sdlhelper.cpp +++ b/src/utils/sdlhelper.cpp @@ -43,6 +43,7 @@ bool SDL::getAllVideoModes(StringVect &modeList) .append(toString(static_cast<int>(modes[0]->h))); logger->log("support mode: " + modeString); modeList.push_back(modeString); + return true; #else /* Check which modes are available */ if (modes == static_cast<SDL_Rect **>(nullptr)) |