Skip to content

Commit c47001e

Browse files
committed
Fix evilC#46
1 parent 604e751 commit c47001e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Monitor.ahk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ Loop 2 {
5353
fn := Func("CheckboxChanged").Bind(dev.id)
5454
GuiControl, +g, % hwnd, % fn
5555
lowest := UpdateLowest(hwnd)
56-
strings[A_index] := {vid:FormatHex(dev.VID), pid: FormatHex(dev.PID), handle: StrReplace(dev.Handle, "&", "&&")}
56+
strings[A_index] := {vid:FormatHex(dev.VID), pid: FormatHex(dev.PID), handle: dev.Handle}
5757
Gui, Add, Text, % "hwndhwnd x" columnX[devType] + idW " y" rowY - vhOff, % "VID / PID:`t0x" strings[A_index].vid ", 0x" strings[A_index].pid
5858
maxWidths[devType] := UpdateWidth(hwnd)
59-
Gui, Add, Text, % "hwndhwnd x" columnX[devType] + idW " y" rowY + vhOff, % "Handle:`t`t" strings[A_index].handle
59+
Gui, Add, Text, % "hwndhwnd x" columnX[devType] + idW " y" rowY + vhOff, % "Handle:`t`t" StrReplace(strings[A_index].Handle, "&", "&&")
6060
maxWidths[devType] := UpdateWidth(hwnd)
6161
}
6262

0 commit comments

Comments
 (0)