mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 10:09:39 +00:00
fixed another resolution change bug introduced recently
This commit is contained in:
parent
205ed0ce5b
commit
085891879c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ namespace
|
||||||
void parseResolution (int &x, int &y, const std::string& str)
|
void parseResolution (int &x, int &y, const std::string& str)
|
||||||
{
|
{
|
||||||
std::vector<std::string> split;
|
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);
|
assert (split.size() >= 2);
|
||||||
boost::trim(split[0]);
|
boost::trim(split[0]);
|
||||||
boost::trim(split[1]);
|
boost::trim(split[1]);
|
||||||
|
|
Loading…
Reference in a new issue