Skip to content

Commit

Permalink
Fix checkbox handling
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Sep 25, 2018
1 parent 3b0f553 commit 3b8e838
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nsis/gvim.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -490,13 +490,13 @@ Function ValidateCustom
ReadINIStr $3 "$PLUGINSDIR\vimrc.ini" "Field 5" "State"
${If} $3 == "1"
StrCpy $1 "$1 -vimrc-behave unix"
${EndIf}

ReadINIStr $3 "$PLUGINSDIR\vimrc.ini" "Field 6" "State"
${If} $3 == "1"
StrCpy $1 "$1 -vimrc-behave mswin"
${Else}
StrCpy $1 "$1 -vimrc-behave default"
ReadINIStr $3 "$PLUGINSDIR\vimrc.ini" "Field 6" "State"
${If} $3 == "1"
StrCpy $1 "$1 -vimrc-behave mswin"
${Else}
StrCpy $1 "$1 -vimrc-behave default"
${EndIf}
${EndIf}
FunctionEnd

Expand Down

0 comments on commit 3b8e838

Please sign in to comment.