From 746bd059fd3f3838674dff913d8b43bb0a0299f4 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Wed, 1 Aug 2012 20:40:50 +0300 Subject: [PATCH] Script: ReplaceVariables() now also replaces [measures] --- Library/lua/glue/LuaMeterWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/lua/glue/LuaMeterWindow.cpp b/Library/lua/glue/LuaMeterWindow.cpp index 0ee1d589..bf672eb7 100644 --- a/Library/lua/glue/LuaMeterWindow.cpp +++ b/Library/lua/glue/LuaMeterWindow.cpp @@ -126,6 +126,7 @@ static int ReplaceVariables(lua_State* L) std::wstring strTmp = LuaManager::ToWide(L, 2); self->GetParser().ReplaceVariables(strTmp); + self->GetParser().ReplaceMeasures(strTmp); LuaManager::PushWide(L, strTmp.c_str()); return 1;