diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-08-10 21:15:16 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-08-10 21:26:50 +0200 |
commit | 796bc36fe0230c7739bbe95c008241ca0373f890 (patch) | |
tree | 3d495dd9cbd7c18e63ea4db444b9d167ff2a9039 /Header.c | |
parent | ba5ef1ac8bdc264fda18da96f2c430d67bdabe08 (diff) |
Add assert to improve backtraces on NULL function pointer
Diffstat (limited to 'Header.c')
-rw-r--r-- | Header.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -183,6 +183,7 @@ void Header_draw(const Header* this) { else actualWidth = width; + assert(meter->draw); meter->draw(meter, x, y, actualWidth); y += meter->h; } |