mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Ahem. Now pterm actually uses wc_to_mb in a situation where it needs
to pass in a default character, it would help if wc_to_mb actually _honoured_ the default-character parameter. [originally from svn r2490]
This commit is contained in:
parent
db9edaf8c9
commit
b527354246
@ -97,7 +97,7 @@ int wc_to_mb(int codepage, int flags, wchar_t *wcstr, int wclen,
|
|||||||
return n;
|
return n;
|
||||||
} else {
|
} else {
|
||||||
return charset_from_unicode(&wcstr, &wclen, mbstr, mblen, codepage,
|
return charset_from_unicode(&wcstr, &wclen, mbstr, mblen, codepage,
|
||||||
NULL, NULL, 0);
|
NULL, defchr?defchr:NULL, defchr?1:0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user