diff options
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()); |