Skip to content

Commit 692e958

Browse files
committed
refactoring (check == 0)
1 parent 59047a5 commit 692e958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/vim_ahk.ahk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ class VimAhk{
257257

258258
IsVimGroup(){
259259
if(this.Conf["VimAppList"]["val"] == "Allow List"){
260-
Return (WinActive("ahk_group " . this.GroupName) != 0)
260+
Return WinActive("ahk_group " . this.GroupName)
261261
}else if(this.Conf["VimAppList"]["val"] == "Deny List"){
262-
Return (WinActive("ahk_group " . this.GroupName) == 0)
262+
Return !WinActive("ahk_group " . this.GroupName)
263263
}
264264
Return True
265265
}

0 commit comments

Comments
 (0)