git.ucc.asn.au
/
ipdf
/
code.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab62405
)
C++11 lambdas - are they really worth it?
author
Sam Moore
<
[email protected]
>
Mon, 7 Jul 2014 03:48:36 +0000
(11:48 +0800)
committer
Sam Moore
<
[email protected]
>
Mon, 7 Jul 2014 03:48:36 +0000
(11:48 +0800)
src/main.h
patch
|
blob
|
history
diff --git
a/src/main.h
b/src/main.h
index
9900cd5
..
98bf9e2
100644
(file)
--- 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;
UCC
git Repository :: git.ucc.asn.au