1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:53:53 +00:00

fix for the directx crash

This commit is contained in:
scrawl 2012-06-26 18:03:52 +02:00
parent 797c2c538d
commit 232fe0be8c

View file

@ -44,7 +44,7 @@ namespace
void parseResolution (int &x, int &y, const std::string& str)
{
std::vector<std::string> 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]);