From a2fab335f6502b3a0a37055486620615e643ad35 Mon Sep 17 00:00:00 2001 From: Sam Moore Date: Mon, 7 Jul 2014 11:48:36 +0800 Subject: [PATCH] C++11 lambdas - are they really worth it? --- src/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.h b/src/main.h index 9900cd5..98bf9e2 100644 --- a/src/main.h +++ b/src/main.h @@ -28,7 +28,7 @@ inline void MainLoop(Document & doc, const Rect & bounds = Rect(0,0,1,1), const Screen scr; View view(doc,scr, bounds, c); scr.DebugFontInit("DejaVuSansMono.ttf"); - scr.SetMouseHandler([&](int x, int y, int buttons, int wheel) // [?] wtf + scr.SetMouseHandler([&](int x, int y, int buttons, int wheel) // [?] seriously WTF { static bool oldButtonDown = false; static int oldx, oldy; -- 2.20.1