X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fmain.h;h=43d195f2eb8a04f90277206d8172129e8595a358;hb=ffd290c0bc1da5aa2397fc88af9ad594f104b192;hp=193206d4cd109e38c6f46390ce7675d24d9f1f74;hpb=81e2ea632c6826b375a8102d3c1705697eb5a500;p=ipdf%2Fcode.git diff --git a/src/main.h b/src/main.h index 193206d..43d195f 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;