Fix wxs command

This commit is contained in:
pancake 2016-10-04 18:03:03 +02:00
parent 150ebc3c26
commit 6db1ee101d
2 changed files with 2 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ static int cmd_write(void *data, const char *input) {
break;
case 's': // "wxs"
{
int len = cmd_write_hexpair (core, input + 1);
int len = cmd_write_hexpair (core, input + 2);
if (len > 0) {
r_core_seek_delta (core, len);
core->num->value = len;

View File

@ -195,6 +195,7 @@ static int visual_help() {
" >||< seek aligned to block size\n"
" a/A (a)ssemble code, visual (A)ssembler\n"
" b toggle breakpoint\n"
" B enumerate and inspect classes\n"
" c/C toggle (c)ursor and (C)olors\n"
" d[f?] define function, data, code, ..\n"
" D enter visual diff mode (set diff.from/to)\n"