blob: 76328e122de73aa4be1d2ed49cb1d0becc714720 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- apps/openmw/mwgui/cursor.cpp.orig 2023-08-08 09:23:20 UTC
+++ apps/openmw/mwgui/cursor.cpp
@@ -26,8 +26,8 @@ namespace MWGui
MyGUI::xml::ElementEnumerator info = _node->getElementEnumerator();
while (info.next("Property"))
{
- const std::string& key = info->findAttribute("key");
- const std::string& value = info->findAttribute("value");
+ const auto key = info->findAttribute("key");
+ const auto value = info->findAttribute("value");
if (key == "Point")
mPoint = MyGUI::IntPoint::parse(value);
|