From: RealBadAngel Date: Mon, 7 Oct 2013 20:47:13 +0000 (+0200) Subject: FIx wrong error message on invalid use of the formspec element image_button X-Git-Tag: 0.4.8~111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5598f3c81b0d78237f9c8b44b022e3b7270ef426;p=oweals%2Fminetest.git FIx wrong error message on invalid use of the formspec element image_button --- 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"<