From 7d88327dbc92a20faf29db64d4ecc42bf506ae16 Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Sat, 1 Feb 2014 05:46:25 +0100 Subject: [PATCH] CLuaInstance::MessageboxExec: Fix align --- src/gui/luainstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index 03d014a65..af5a166af 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -1195,7 +1195,7 @@ int CLuaInstance::MessageboxExec(lua_State *L) const char *val = lua_tostring(L, -2); table_key mb[] = { { "center1", CMessageBox::mbBtnAlignCenter1 }, - { "center2", CMessageBox::mbBtnAlignCenter1 }, + { "center2", CMessageBox::mbBtnAlignCenter2 }, { "left", CMessageBox::mbBtnAlignLeft }, { "right", CMessageBox::mbBtnAlignRight }, { NULL, 0 }