summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-10-07 22:47:13 +0200
committerRealBadAngel <mk@realbadangel.pl>2013-10-07 22:50:26 +0200
commit5598f3c81b0d78237f9c8b44b022e3b7270ef426 (patch)
tree1ef12888aa676c087b61bf6e1a1858985b4902ee
parentafb27329fc05076876c19e90f8c4343efa540207 (diff)
downloadminetest-5598f3c81b0d78237f9c8b44b022e3b7270ef426.tar.gz
minetest-5598f3c81b0d78237f9c8b44b022e3b7270ef426.tar.bz2
minetest-5598f3c81b0d78237f9c8b44b022e3b7270ef426.zip
FIx wrong error message on invalid use of the formspec element image_button
-rw-r--r--src/guiFormSpecMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp
index 28cb6740e..25adf8ea7 100644
--- 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 item_image_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);