mirror of
https://github.com/RubyMetric/chsrc
synced 2025-08-14 08:29:32 +08:00
Debug note
This commit is contained in:
parent
52004a1033
commit
7c1b3c2a91
@ -91,8 +91,10 @@ chef_set_note (Target_t *target, const char *note_zh, const char *note_en)
|
|||||||
if (!target)
|
if (!target)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
char *msg = CHINESE ? xy_strdup(note_zh) : xy_strdup(note_en);
|
const char *msg = CHINESE ? note_zh : note_en;
|
||||||
target->note = msg;
|
|
||||||
|
if (msg)
|
||||||
|
target->note = xy_strdup(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user