Changed: %u to format a uint

This commit is contained in:
kervala 2016-01-05 12:53:57 +01:00
parent dfc0154fe1
commit 9d1d6f8770

View file

@ -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); \
} \