conhost: Fix display of font preview in 64-bit mode.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
Eric Pouech 2024-05-28 16:32:27 +02:00 committed by Alexandre Julliard
parent 23c5d4c065
commit b3fa23e88d

View file

@ -1367,7 +1367,7 @@ static COLORREF get_color( struct dialog_info *di, unsigned int idc )
{
LONG_PTR index;
index = GetWindowLongPtrW(GetDlgItem( di->dialog, idc ), 0);
index = GetWindowLongW(GetDlgItem( di->dialog, idc ), 0);
return di->config.color_map[index];
}