From 232fe0be8c411f2e793429b062c4188d9e16fef1 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 26 Jun 2012 18:03:52 +0200 Subject: [PATCH] fix for the directx crash --- 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 8dcea6d894..1d1836e9f6 100644 --- a/apps/openmw/mwgui/settingswindow.cpp +++ b/apps/openmw/mwgui/settingswindow.cpp @@ -44,7 +44,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]);