From f0d98ad70d2188197be00f6c1a9b7338473c6485 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 18 Dec 2018 20:10:10 -0500 Subject: Various fixes to get things working under msys2 Replaced various "make" calls in the makefile with $(MAKE) Replaced a few __mingw_printf with just printf Added some instructions to the readme --- src/client/lua_api/gui/iguielement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/lua_api') diff --git a/src/client/lua_api/gui/iguielement.cpp b/src/client/lua_api/gui/iguielement.cpp index 4ef5026..4d53ca2 100644 --- a/src/client/lua_api/gui/iguielement.cpp +++ b/src/client/lua_api/gui/iguielement.cpp @@ -177,7 +177,7 @@ int getiguitext(lua_State* L){ lua_pop(L,2);// const wchar_t *t = el->getText(); size_t cstrlen = wcslen(t); - __mingw_printf("In gui get text, cstrlen is %zu\n",cstrlen); + printf("In gui get text, cstrlen is %zu\n",cstrlen); char output[cstrlen + 1];//+1 for \0 wcstombs(output,t,cstrlen); output[cstrlen] = '\0'; -- cgit v1.2.3-70-g09d2