Skip to content

Commit

Permalink
Change "if" to Choose
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Sep 24, 2016
1 parent 51e446d commit 9405d9e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions I-Nex/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -945,13 +945,14 @@ Label134.Text = "Rq affinity: " & Disk_Drives.rq_affinity
Label124.Text = "BDI min_ratio: " & Disk_Drives.min_ratio
Label125.Text = "BDI stable pages required: " & Disk_Drives.stable_pages_required

If Disk_Drives.removable Like "0" Then
Label45.Text = "Removable: No"
Endif

If Disk_Drives.removable Like "1" Then
Label45.Text = "Removable: Yes"
Endif
Label45.Text = Choose(CInt(Disk_Drives.removable) + 1, "Removable: No", "Removable: Yes")
' If Disk_Drives.removable Like "0" Then
' Label45.Text = "Removable: No"
' Endif
'
' If Disk_Drives.removable Like "1" Then
' Label45.Text = "Removable: Yes"
' Endif

If IsNull(ComboBox3.Text) = False Then
If Disk_Drives.check_swap Like "*" & ComboBox3.Text & "*" Then
Expand Down

0 comments on commit 9405d9e

Please sign in to comment.