We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ad9a8f commit 41ad0f4Copy full SHA for 41ad0f4
src/gui/guiFormSpecMenu.cpp
@@ -325,8 +325,8 @@ void GUIFormSpecMenu::parseContainer(parserData* data, const std::string &elemen
325
parts[1] = parts[1].substr(0, parts[1].find(';'));
326
327
container_stack.push(pos_offset);
328
- pos_offset.X += MYMAX(0, stof(parts[0]));
329
- pos_offset.Y += MYMAX(0, stof(parts[1]));
+ pos_offset.X += stof(parts[0]);
+ pos_offset.Y += stof(parts[1]);
330
return;
331
}
332
errorstream<< "Invalid container start element (" << parts.size() << "): '" << element << "'" << std::endl;
0 commit comments