Skip to content

Commit e03aca2

Browse files
committed
Fixed: Traditional If caluse formatting
Fixed: Error message
1 parent 01d79c4 commit e03aca2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/setup.ahk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,11 @@ ReadConfigFile:
197197
; Read custom history size
198198
IniRead, maxNumberOfClipFilesIniValue, %iniFilePath%, settings, maxNumberOfClipFiles, %A_Space%
199199
if (maxNumberOfClipFilesIniValue != "") {
200-
if maxNumberOfClipFilesIniValue is Integer {
200+
if maxNumberOfClipFilesIniValue is Integer
201+
{
201202
maxClipFileNum := maxNumberOfClipFilesIniValue
202203
} else {
203-
MsgBox % errorWrongConfigValue . "`nValue of 'maxNumberOfClipFiles' must be an integer, but it was '" . maxClipFileNum . "'`n`nThe program terminates..."
204+
MsgBox % errorWrongConfigValue . "`nValue of 'maxNumberOfClipFiles' must be an integer, but it was '" . maxNumberOfClipFilesIniValue . "'`n`nThe program terminates..."
204205
ExitApp
205206
}
206207
}

0 commit comments

Comments
 (0)