Skip to content

Commit

Permalink
Merge pull request #21 from fredericosilva/fix-gdi
Browse files Browse the repository at this point in the history
Fix GdiScaling
  • Loading branch information
wqweto authored Jul 10, 2019
2 parents c24ec4a + 54f0b34 commit d42f8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/mdUmmm.bas
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ Private Function pvProcess(sFile As String) As String
Case "gdiscaling"
'--- gdiscaling [on_off]
'--- on_off is true/false or 0/1
pvDumpGdiScaling C_Bool(At(vRow, 1)), cOutput
Case "dpiawareness"
'--- dpiawareness elements
pvDumpDpiAwareness At(vRow, 1), cOutput
pvDumpGdiScaling C_Bool(At(vRow, 1)), cOutput
Case "supportedos"
'--- supportedos <os_types>
'--- os_types are | separated OSes from { vista, win7, win8, win81 } or guids
Expand Down Expand Up @@ -537,7 +537,7 @@ Private Function pvDumpGdiScaling(ByVal bEnable As Boolean, cOutput As Collectio
If bEnable Then
cOutput.Add " <asmv3:application>"
cOutput.Add " <asmv3:windowsSettings xmlns=""http://schemas.microsoft.com/SMI/2017/WindowsSettings"">"
cOutput.Add " <gdiScaling>true</dpiAware>"
cOutput.Add " <gdiScaling>true</gdiScaling>"
cOutput.Add " </asmv3:windowsSettings>"
cOutput.Add " </asmv3:application>"
End If
Expand Down

0 comments on commit d42f8b1

Please sign in to comment.