Skip to content

Commit bb6a0a3

Browse files
committed
Missing parenthesis
1 parent 701165a commit bb6a0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VBScript/02_Upfront_Encapsulated_Code_With_No_Dependencies/GetWindowsProfileVersionNumberStringFromOperatingSystemVersionNumber.vbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Function GetWindowsProfileVersionNumberStringFromOperatingSystemVersionNumber(By
9494
' No error occurred
9595
' strOperatingSystemVersionNumber converted to lngMajor, lngMinor, lngBuild, lngRevision
9696
If lngMajor >= 10 Then
97-
If ((lngMajor > 10) Or (lngMajor = 10 And lngMinor > 0) Then
97+
If ((lngMajor > 10) Or (lngMajor = 10 And lngMinor > 0)) Then
9898
' Some release newer than Windows 10 or Windows Server v10
9999
' TODO: Update when OS is released newer than Windows 10
100100
strWorkingProfileVersionNumber = "6.0"

0 commit comments

Comments
 (0)