From 9d1d6f877081e56d725d6f94c70f5d8e04ffe9cc Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 5 Jan 2016 12:53:57 +0100 Subject: [PATCH] Changed: %u to format a uint --- code/nel/src/gui/lua_ihm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/gui/lua_ihm.cpp b/code/nel/src/gui/lua_ihm.cpp index f1c91c4a4..b409de661 100644 --- a/code/nel/src/gui/lua_ihm.cpp +++ b/code/nel/src/gui/lua_ihm.cpp @@ -1537,7 +1537,7 @@ namespace NLGUI for (uint e=0 ; e<__num__ ; e++) \ { \ std::string str = __toStringFunc__((__enum__)e); \ - std::string temp = __name__ + toString(".") + __toStringFunc__((__enum__)e) + " = " + toString("%d;", e); \ + std::string temp = __name__ + toString(".") + __toStringFunc__((__enum__)e) + " = " + toString("%u;", e); \ ls.executeScript(temp); \ } \