ee1fdf1921
by adding needed #includes, adding return statements to non-void functions and declaring functions returning a int instead of void if they do return an return code. - start using one central safemalloc. - do not mangle pointers which makes FvwmWinList work on amd64/7-STABLE again. PR: 132571 Submitted by: Bjoern A. Zeeb
11 lines
452 B
C
11 lines
452 B
C
--- ./fvwm/events.c.orig 1994-11-15 14:02:39.000000000 +0000
|
|
+++ ./fvwm/events.c 2009-03-11 09:42:52.000000000 +0000
|
|
@@ -985,7 +985,7 @@
|
|
(MouseEntry->Modifier == (modifier& (~LockMask)))))
|
|
{
|
|
/* got a match, now process it */
|
|
- if (MouseEntry->func != (int)NULL)
|
|
+ if (MouseEntry->func != 0)
|
|
{
|
|
Action = MouseEntry->item ? MouseEntry->item->action : NULL;
|
|
ExecuteFunction(MouseEntry->func, Action, Event.xany.window,
|