Skip to content

Commit

Permalink
use RZ_STR_ISNOTEMPTY
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio authored Nov 4, 2024
1 parent 4a074f8 commit 8b1e632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/core/cbin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ RZ_API void rz_core_bin_print_source_line_info(RzCore *core, const RzBinSourceLi
}

static const char *bin_reloc_type_name(RzBinReloc *reloc) {
if (reloc->print_name != NULL) {
if (RZ_STR_ISNOTEMPTY(reloc->print_name)) {
return reloc->print_name;
}
#define CASE(T) \
Expand Down

0 comments on commit 8b1e632

Please sign in to comment.