diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 16:24:45 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 16:24:45 +0500 |
| commit | cdf2832347b8fdf0389cd373c2ead0ac5d071037 (patch) | |
| tree | 96f9771aed0710899aa6cbba2a84dadfe76e996e /FL/names.h | |
| parent | db214d1145e46d527a46d1fc2519548d2c4d23f1 (diff) | |
wip
Diffstat (limited to 'FL/names.h')
| -rw-r--r-- | FL/names.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/names.h b/FL/names.h index e2072e058..33bc6caa4 100644 --- a/FL/names.h +++ b/FL/names.h @@ -190,7 +190,7 @@ const char * const fl_callback_reason_names[] = \return C++ symbol of reason as a string */ inline std::string fl_callback_reason_str(int reason) { - if ((reason < 0) || (reason >= FL_REASON_USER+3) || (fl_callback_reason_names[reason] == nullptr)) { + if ((reason < 0) || (reason >= FL_REASON_USER+3) || (fl_callback_reason_names[reason] == 0)) { return "FL_REASON_" + std::to_string(reason); } else { return fl_callback_reason_names[reason]; |
