correct sloppy NULL checks, in interface code:
authorCampbell Barton <ideasman42@gmail.com>
Sat, 27 Jul 2013 14:17:20 +0000 (14:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 27 Jul 2013 14:17:20 +0000 (14:17 +0000)
commitd7ff7ad3e9da1a7fd322e37382d4c28f7b84b036
tree4aabdefc7f0a17e40f17210f4bf4c11c4ff179e3
parent6aa001f48dc9358a2183b62e03a95b19af2cdca7
correct sloppy NULL checks, in interface code:
- uiPupMenuBegin was checking for NULL title but would still crash if it were NULL.
- now tag the function as 'nonnull' and remove NULL checks. make sure NULL isnt passed to it.
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_regions.c