diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-15 02:20:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-15 02:20:52 +0300 |
commit | 18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 (patch) | |
tree | db753995392ae8e6c5202467f417f31deb8717f0 /src/gui/setup_video.cpp | |
parent | c3b8f951d6e16dfb48cb71bd7ad3d7c43ea56c0a (diff) | |
download | manaplus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.gz manaplus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.bz2 manaplus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.xz manaplus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.zip |
Fix code style again.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index f6b83807a..1e3f843aa 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -109,9 +109,9 @@ class ModeListModel : public gcn::ListModel StringVect mVideoModes; }; -bool modeSorter(std::string mode1, std::string mode2); +static bool modeSorter(std::string mode1, std::string mode2); -bool modeSorter(std::string mode1, std::string mode2) +static bool modeSorter(std::string mode1, std::string mode2) { const int width1 = atoi(mode1.substr(0, mode1.find("x")).c_str()); const int height1 = atoi(mode1.substr(mode1.find("x") + 1).c_str()); |