mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 16:40:57 +00:00
patience is a virtue, deeso
This commit is contained in:
parent
2e2e2eaac2
commit
204f29ac84
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user