mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-18 19:19:10 +00:00
Fix bug in WidgetLoader::fillWidgetWithXmlElementAttributes()
This commit is contained in:
parent
f3aa6bc2ae
commit
59d10f590e
@ -524,7 +524,7 @@ void WidgetLoader::fillWidgetWithXmlElementAttributes(const TiXmlElement* elem,
|
||||
widget->noBorderNoChildSpacing();
|
||||
|
||||
if (border)
|
||||
widget->setBorder(gfx::Border(strtol(childspacing, NULL, 10)*guiscale()));
|
||||
widget->setBorder(gfx::Border(strtol(border, NULL, 10)*guiscale()));
|
||||
|
||||
if (childspacing)
|
||||
widget->child_spacing = strtol(childspacing, NULL, 10)*guiscale();
|
||||
|
Loading…
x
Reference in New Issue
Block a user