From b770d1fd61cfe703d3c68b2b8da94feefced0ad5 Mon Sep 17 00:00:00 2001 From: Shmuel Zeigerman Date: Wed, 30 Oct 2024 22:18:54 +0200 Subject: [PATCH] LuaFAR: text in some error messages was not left-aligned --- luafar/src/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luafar/src/service.c b/luafar/src/service.c index 53de13482..2d0551366 100644 --- a/luafar/src/service.c +++ b/luafar/src/service.c @@ -2050,7 +2050,7 @@ void LF_Error(lua_State *L, const wchar_t* aMsg) lua_pushlstring(L, (void*)L":\n", sizeof(wchar_t) * 2); LF_Gsub(L, aMsg, L"\n\t", L"\n "); lua_concat(L, 3); - LF_Message(L, (void*)lua_tostring(L,-1), L"Error", L"OK", "w", NULL, NULL); + LF_Message(L, (void*)lua_tostring(L,-1), L"Error", L"OK", "wl", NULL, NULL); lua_pop(L, 1); }