mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-14 17:48:28 +00:00
Don't put 'u' prefix for single-char strings (#7780)
This commit is contained in:
parent
912eb376d5
commit
7349aa1e3f
@ -2625,7 +2625,7 @@ static void ds_print_str(RDisasmState *ds, const char *str, int len, bool string
|
||||
// could be a wide string
|
||||
int i = 0;
|
||||
ALIGN;
|
||||
ds_comment (ds, true, "; u\"");
|
||||
ds_comment (ds, true, "; %s\"", len > 2 && str[i+2] ? "u" : "");
|
||||
for (i = 0; i < len; i+=2) {
|
||||
if (!str[i]) {
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user