Skip to content

Commit

Permalink
Update librz/core/cprint.c
Browse files Browse the repository at this point in the history
Co-authored-by: Giovanni <[email protected]>
  • Loading branch information
XVilka and wargio authored Jan 8, 2024
1 parent 603e46d commit ba04ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/core/cprint.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RZ_API void rz_core_print_colored_help_option(const char *option, const char *ar
size_t maxSpaces = maxOptionAndArgLength + 2;
printf(Color_GREEN " %-.*s" Color_RESET, (int)optionWidth, option);
size_t remainingSpaces = maxSpaces - optionWidth;
if (arg[0] != '\0') {
if (RZ_STR_ISNOTEMPTY(arg[0])) {
printf(Color_YELLOW " %-s " Color_RESET, arg);
remainingSpaces -= strlen(arg) + 2;
}
Expand Down

0 comments on commit ba04ba1

Please sign in to comment.