Display the current directory in unicode

rename function Print_in_window_utf16() to Print_in_window_unicode()
This commit is contained in:
Thomas Bernard
2018-02-12 14:16:10 +01:00
parent b882eb9fe4
commit 9a03a54fef
8 changed files with 102 additions and 47 deletions

View File

@@ -2009,7 +2009,7 @@ int L_Run(lua_State* L)
return luaL_error(L, "run: too many nested calls (100)");
// store the current directory (on the stack)
Get_current_directory(saved_directory,MAX_PATH_CHARACTERS);
Get_current_directory(saved_directory, NULL, MAX_PATH_CHARACTERS);
#if defined (__AROS__)
// Convert path written on Linux/Windows norms to AROS norms :