Commit c627c168 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

wineps: Fix names in paper sizes list.

This is likely a regression from cd4f48f2. Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com>
parent 9fd82b61
...@@ -255,8 +255,7 @@ static INT_PTR CALLBACK PSDRV_PaperDlgProc(HWND hwnd, UINT msg, ...@@ -255,8 +255,7 @@ static INT_PTR CALLBACK PSDRV_PaperDlgProc(HWND hwnd, UINT msg,
i = Cursel = 0; i = Cursel = 0;
LIST_FOR_EACH_ENTRY(ps, &di->pi->ppd->PageSizes, PAGESIZE, entry) { LIST_FOR_EACH_ENTRY(ps, &di->pi->ppd->PageSizes, PAGESIZE, entry) {
SendDlgItemMessageA(hwnd, IDD_PAPERS, LB_INSERTSTRING, i, SendDlgItemMessageW(hwnd, IDD_PAPERS, LB_INSERTSTRING, i, (LPARAM)ps->FullName);
(LPARAM)ps->FullName);
if(di->pi->Devmode->dmPublic.dmPaperSize == ps->WinPage) if(di->pi->Devmode->dmPublic.dmPaperSize == ps->WinPage)
Cursel = i; Cursel = i;
i++; i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment