keith-packard / kgames

Rustic X11 games
Other
11 stars 2 forks source link

Xkw: Hand widget mis-using xkw_foreach macros #50

Closed keith-packard closed 2 years ago

keith-packard commented 2 years ago

This code was assuming that the list pointer would be NULL after the list walk was complete, which is not true. Fix this by adding explicit checks instead.

Signed-off-by: Keith Packard keithp@keithp.com