From 085891879cde4ac00bcafbe1249fc25cc1ff595d Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 3 Jul 2012 16:44:20 +0200 Subject: [PATCH] fixed another resolution change bug introduced recently --- apps/openmw/mwgui/settingswindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/settingswindow.cpp b/apps/openmw/mwgui/settingswindow.cpp index 5bb57359b1..5e25d5ece5 100644 --- a/apps/openmw/mwgui/settingswindow.cpp +++ b/apps/openmw/mwgui/settingswindow.cpp @@ -49,7 +49,7 @@ namespace void parseResolution (int &x, int &y, const std::string& str) { std::vector split; - boost::algorithm::split (split, str, boost::is_any_of("x@")); + boost::algorithm::split (split, str, boost::is_any_of("@(x")); assert (split.size() >= 2); boost::trim(split[0]); boost::trim(split[1]);