mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
Applied Monyo's patch for bug #412 which allows \n characters to
appear in msg strings. (This used to be commit 53a2a389902b6ffa37dd61f0c0a496744fc2e2b3)
This commit is contained in:
parent
5def5d2bdb
commit
109d5b4622
@ -58,6 +58,8 @@ static BOOL load_msg(const char *msg_file)
|
|||||||
if (*msgstr == 0) {
|
if (*msgstr == 0) {
|
||||||
msgstr = msgid;
|
msgstr = msgid;
|
||||||
}
|
}
|
||||||
|
all_string_sub(msgid, "\\n", "\n", 0);
|
||||||
|
all_string_sub(msgstr, "\\n", "\n", 0);
|
||||||
key.dptr = msgid;
|
key.dptr = msgid;
|
||||||
key.dsize = strlen(msgid)+1;
|
key.dsize = strlen(msgid)+1;
|
||||||
data.dptr = msgstr;
|
data.dptr = msgstr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user