Skip to content

Commit

Permalink
If IsNull(monitor_name)
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 30, 2013
1 parent 36b70cc commit 4de4426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/i-nex/.src/FGraphic.module
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Public Sub _check()
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Serial number:' | cut -d ':' -f 2" Wait To serial_number
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Gamma:' | cut -d ':' -f 2" Wait To Gamma
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Maximum image size:' | cut -d ':' -f 2" Wait To Maximum_image_size
If monitor_name = Null Then
If IsNull(monitor_name) Then
Shell "/usr/bin/inex-edid /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Monitor name:' | cut -d ':' -f 2" Wait To monitor_name
Endif
Endif

Finfosys.Label155.Text = "Gamma: " & Replace(Replace(Gamma, "\n", " "), "\n", "")
Finfosys.Label100.Text = "Monitor name: " & Replace(Replace(monitor_name, "\n", " "), "\n", "")
Finfosys.Label65.Text = "Status: " & Replace(status, "\n", "")
Expand Down

0 comments on commit 4de4426

Please sign in to comment.