Here is a patch, which adds support for tcc's alloca.
[elinks.git] / contrib / gpm-wheel.patch
bloba30df35301cc87912f192794cb0bc428c3ee856c
1 --- gpm-1.20.1/src/gpm.c.old 2006-07-27 22:52:10.095084528 +0200
2 +++ gpm-1.20.1/src/gpm.c 2006-07-27 22:52:48.503245600 +0200
3 @@ -530,7 +530,7 @@
4 /* up and down, up and down, ... who does a do..while(0) loop ???
5 and then makes a break into it... argh ! */
7 - if (!event->dx && !event->dy && (event->buttons==oldB))
8 + if (!event->dx && !event->dy && !event->wdx && !event->wdy && (event->buttons==oldB))
9 do { /* so to break */
10 static long awaketime;