conhost: Set correct face name when the specified font is not available.
commit303f8042f9db508adaca02ef21f8de4992cb9c03
authorHugh McMaster <hugh.mcmaster@outlook.com>
Tue, 24 May 2022 13:27:23 +0000 (24 23:27 +1000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 24 May 2022 19:25:02 +0000 (24 21:25 +0200)
treec59dc935e31c0c60a8ceb52c526cf934d307c9c4
parentfb0f6b4be46032e2e38a804822eaccb772e5d9bb
conhost: Set correct face name when the specified font is not available.

conhost.exe currently copies the user-specified face name from the
LOGFONT structure. This results in an invalid face name when the
specified font is not available.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
programs/conhost/window.c