summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
commit18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 (patch)
treedb753995392ae8e6c5202467f417f31deb8717f0 /src/gui/setup_video.cpp
parentc3b8f951d6e16dfb48cb71bd7ad3d7c43ea56c0a (diff)
downloadmanaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.gz
manaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.bz2
manaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.xz
manaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.zip
Fix code style again.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp4
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());