From 5598f3c81b0d78237f9c8b44b022e3b7270ef426 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Mon, 7 Oct 2013 22:47:13 +0200 Subject: [PATCH] FIx wrong error message on invalid use of the formspec element image_button --- src/guiFormSpecMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 rect = core::rect(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"<