diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-05 13:32:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-05 13:32:16 (GMT) |
commit | adb81ce974986627e7f381421adb9452a34a5e47 (patch) | |
tree | 3272bb94f987d5a8ac6d916334daebd85f7693f1 /macosx/tkMacOSXMenu.c | |
parent | 3682b4165698b83f1604f1ce29866219b5497bd1 (diff) | |
download | tk-adb81ce974986627e7f381421adb9452a34a5e47.zip tk-adb81ce974986627e7f381421adb9452a34a5e47.tar.gz tk-adb81ce974986627e7f381421adb9452a34a5e47.tar.bz2 |
Protect better against possible confusion between XGenericEvent's and (Tcl-specific) XVirtualEvent's: If "name" == NULL, assume it's a XGenericEvent, so don't crash on that just ignore.
Also don't use "virtual" as variable name.
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
0 files changed, 0 insertions, 0 deletions