Fix block-size and in the same time array bug in 'pf'

This commit is contained in:
Skia 2014-07-20 03:54:29 +02:00
parent 7507868d47
commit f01876a576
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ static int cmd_print(void *data, const char *input) {
if (p) {
l = (int) r_num_math (core->num, p+1);
/* except disasm and memoryfmt (pd, pm) */
if (input[0] != 'd' && input[0] != 'D' && input[0] != 'm' && input[0]!='a') {
if (input[0] != 'd' && input[0] != 'D' && input[0] != 'm' && input[0]!='a' && input[0]!='f') {
if (l>0) len = l;
if (l>tbs) {
if (!r_core_block_size (core, l)) {