C++11 lambdas - are they really worth it?
authorSam Moore <[email protected]>
Mon, 7 Jul 2014 03:48:36 +0000 (11:48 +0800)
committerSam Moore <[email protected]>
Mon, 7 Jul 2014 03:48:36 +0000 (11:48 +0800)
src/main.h

index 9900cd5..98bf9e2 100644 (file)
@@ -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;

UCC git Repository :: git.ucc.asn.au