patience is a virtue, deeso

This commit is contained in:
Adam Pridgen 2014-03-21 17:27:17 -05:00
parent 2e2e2eaac2
commit 204f29ac84
2 changed files with 1 additions and 2 deletions

View File

@ -507,7 +507,6 @@ R_API int r_core_init(RCore *core) {
core->reflines = NULL;
core->reflines2 = NULL;
core->yank_buf = r_buf_new();
core->yank_off = 0LL;
core->num = r_num_new (&num_callback, core);
//core->num->callback = &num_callback;
//core->num->userptr = core;

View File

@ -25,7 +25,7 @@ R_API int r_core_yank_set (RCore *core, ut64 addr, const ut8 *buf, ut32 len) {
//free (core->yank_buf);
if (buf && len) {
r_buf_set_bytes (core->yank_buf, buf, len);
core->yank_buff->base = addr;
core->yank_buf->base = addr;
return R_TRUE;
}
return R_FALSE;