mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-09 23:11:41 +00:00
Fix assert in cfg.charset
This commit is contained in:
parent
35c9ae73cd
commit
f08e34d298
@ -1215,7 +1215,7 @@ static bool cb_cfgcharset(void *user, void *data) {
|
|||||||
RConfigNode *node = (RConfigNode*) data;
|
RConfigNode *node = (RConfigNode*) data;
|
||||||
const char *cf = r_str_trim_head_ro (node->value);
|
const char *cf = r_str_trim_head_ro (node->value);
|
||||||
if (!*cf) {
|
if (!*cf) {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *cs = R2_PREFIX R_SYS_DIR R2_SDB R_SYS_DIR "charsets" R_SYS_DIR;
|
const char *cs = R2_PREFIX R_SYS_DIR R2_SDB R_SYS_DIR "charsets" R_SYS_DIR;
|
||||||
|
Loading…
Reference in New Issue
Block a user