projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afb2732
)
FIx wrong error message on invalid use of the formspec element image_button
author
RealBadAngel
<mk@realbadangel.pl>
Mon, 7 Oct 2013 20:47:13 +0000
(22:47 +0200)
committer
RealBadAngel
<mk@realbadangel.pl>
Mon, 7 Oct 2013 20:50:26 +0000
(22:50 +0200)
src/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/guiFormSpecMenu.cpp
b/src/guiFormSpecMenu.cpp
index 28cb6740e3d8a2dee8ff44252cb3bb19d2062e98..25adf8ea7d5e6abc390c6d372b0a189b9d889225 100644
(file)
--- a/
src/guiFormSpecMenu.cpp
+++ b/
src/guiFormSpecMenu.cpp
@@
-1144,7
+1144,7
@@
void GUIFormSpecMenu::parseImageButton(parserData* data,std::string element,std:
core::rect<s32> rect = core::rect<s32>(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y);
if(data->bp_set != 2)
- errorstream<<"WARNING: invalid use of i
tem_i
mage_button without a size[] element"<<std::endl;
+ errorstream<<"WARNING: invalid use of image_button without a size[] element"<<std::endl;
image_name = unescape_string(image_name);
pressed_image_name = unescape_string(pressed_image_name);