Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarInterfaceLuaBindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarInterfaceLuaBindings.cpp')
-rw-r--r--source/frontend/StarInterfaceLuaBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarInterfaceLuaBindings.cpp b/source/frontend/StarInterfaceLuaBindings.cpp
index e64a92b..a023a71 100644
--- a/source/frontend/StarInterfaceLuaBindings.cpp
+++ b/source/frontend/StarInterfaceLuaBindings.cpp
@@ -30,7 +30,7 @@ LuaCallbacks LuaBindings::makeInterfaceCallbacks(MainInterface* mainInterface) {
paneManager->displayRegisteredPane(pane);
});
- callbacks.registerCallback("scale", [mainInterface]() -> int {
+ callbacks.registerCallback("scale", []() -> int {
return GuiContext::singleton().interfaceScale();
});