https://git.reactos.org/?p=reactos.git;a=commitdiff;h=001e300d92b8193868c2bfc6f61d49b3cba77e95

commit 001e300d92b8193868c2bfc6f61d49b3cba77e95
Author:     James Tabor <[email protected]>
AuthorDate: Fri Apr 15 19:30:59 2022 -0500
Commit:     James Tabor <[email protected]>
CommitDate: Fri Apr 15 19:30:59 2022 -0500

    [Win32SS] Fix Build 2
    
    Fix Build 2
---
 win32ss/gdi/eng/pdevobj.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/win32ss/gdi/eng/pdevobj.c b/win32ss/gdi/eng/pdevobj.c
index 41c5045ef2c..410e8998146 100644
--- a/win32ss/gdi/eng/pdevobj.c
+++ b/win32ss/gdi/eng/pdevobj.c
@@ -1023,6 +1023,7 @@ EngQueryDeviceAttribute(
 
     if (cjOutSize >= sizeof(DWORD))
     {
+        /* Set all Accelerations Level Key to enabled Full 0 to 5 turned off. 
*/
         *(DWORD*)pvOut = ppdev->dwAccelerationLevel;
         return TRUE;
     }
@@ -1274,8 +1275,7 @@ PDEVOBJ_sizl(PPDEVOBJ ppdev, PSIZEL psizl)
 {
     if (ppdev->flFlags & PDEV_META_DEVICE)
     {
-        psizl->cx = ppdev->ulHorzRes;
-        psizl->cy = ppdev->ulVertRes;
+        *psizl = ppdev->szlMetaRes;
     }
     else
     {

Reply via email to