Skip to content

Commit

Permalink
Fix prc command.
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio authored and XVilka committed Jan 7, 2024
1 parent 0cc4785 commit e71a365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/core/cmd/cmd_print.c
Original file line number Diff line number Diff line change
Expand Up @@ -7032,7 +7032,7 @@ RZ_IPI RzCmdStatus rz_cmd_print_raw_handler(RzCore *core, int argc, const char *
}

RZ_IPI RzCmdStatus rz_cmd_print_raw_colors_handler(RzCore *core, int argc, const char **argv) {
int len = argc > 1 ? rz_num_math(core->num, argv[1]) : strlen((const char *)core->block);
int len = argc > 1 ? rz_num_math(core->num, argv[1]) : core->blocksize;
if (len < 0) {
return RZ_CMD_STATUS_ERROR;
}
Expand Down

0 comments on commit e71a365

Please sign in to comment.