aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-02-12 19:17:04 +0100
committersfan5 <sfan5@live.de>2020-02-23 22:24:12 +0100
commitc657fb343f120b7462f7ca580852636ad98b8ae0 (patch)
tree6d7b4fbe85a7e56f03e017edff52b0a56aeacfc3 /src/gui
parent4da057cc49082192bbc45689d80dec3410e41f27 (diff)
downloadminetest-c657fb343f120b7462f7ca580852636ad98b8ae0.tar.gz
minetest-c657fb343f120b7462f7ca580852636ad98b8ae0.tar.bz2
minetest-c657fb343f120b7462f7ca580852636ad98b8ae0.zip
Refactor Script API's log_deprecated
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/guiFormSpecMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp
index 3d473550c..40c3bbdae 100644
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/src/gui/guiFormSpecMenu.cpp
@@ -2364,7 +2364,7 @@ bool GUIFormSpecMenu::parseSizeDirect(parserData* data, const std::string &eleme
return false;
if (type == "invsize")
- log_deprecated("Deprecated formspec element \"invsize\" is used");
+ warningstream << "Deprecated formspec element \"invsize\" is used" << std::endl;
parseSize(data, description);