Fix missing & in handles

crumbl3d
Clive Galway 5 years ago
parent cac42ded6e
commit 768d46a48d

@ -28,7 +28,7 @@ Loop 2 {
if (!IsObject(dev)){ if (!IsObject(dev)){
continue continue
} }
Gui, Add, Checkbox, % "hwndhCb w" colWidth, % "ID: " dev.id ", VID: 0x" FormatHex(dev.VID) ", PID: 0x" FormatHex(dev.PID) "`nHandle: " dev.Handle Gui, Add, Checkbox, % "hwndhCb w" colWidth, % "ID: " dev.id ", VID: 0x" FormatHex(dev.VID) ", PID: 0x" FormatHex(dev.PID) "`nHandle: " StrReplace(dev.Handle, "&", "&&")
fn := Func("CheckboxChanged").Bind(dev.id) fn := Func("CheckboxChanged").Bind(dev.id)
GuiControl, +g, % hCb, % fn GuiControl, +g, % hCb, % fn
} }

Loading…
Cancel
Save