From d9afdbf78956579fa8090582d668f2cab0bb45d2 Mon Sep 17 00:00:00 2001 From: Edison Hua Date: Sat, 8 Jan 2022 00:53:08 -0500 Subject: [PATCH] Fix ImageShow scaling on v1 --- ImagePut (for v1).ahk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImagePut (for v1).ahk b/ImagePut (for v1).ahk index a77acd02..3887004e 100644 --- a/ImagePut (for v1).ahk +++ b/ImagePut (for v1).ahk @@ -1721,7 +1721,7 @@ class ImagePut { ; Case 2: Image is scaled. else { ; Create a graphics context from the device context. - DllCall("gdiplus\GdipCreateFromHDC", "ptr", hdc , "ptr*", &pGraphics:=0) + DllCall("gdiplus\GdipCreateFromHDC", "ptr", hdc , "ptr*", pGraphics:=0) ; Set settings in graphics context. DllCall("gdiplus\GdipSetPixelOffsetMode", "ptr", pGraphics, "int", 2) ; Half pixel offset.