Skip to content

Commit 5598f3c

Browse files
committedOct 7, 2013
FIx wrong error message on invalid use of the formspec element image_button
1 parent afb2732 commit 5598f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/guiFormSpecMenu.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ void GUIFormSpecMenu::parseImageButton(parserData* data,std::string element,std:
11441144
core::rect<s32> rect = core::rect<s32>(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y);
11451145

11461146
if(data->bp_set != 2)
1147-
errorstream<<"WARNING: invalid use of item_image_button without a size[] element"<<std::endl;
1147+
errorstream<<"WARNING: invalid use of image_button without a size[] element"<<std::endl;
11481148

11491149
image_name = unescape_string(image_name);
11501150
pressed_image_name = unescape_string(pressed_image_name);

0 commit comments

Comments
 (0)
Please sign in to comment.