diff options
author | Joe <rbo@gmx.us> | 2024-04-12 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-04-12 20:20:20 +0200 |
commit | bca4186e5550006f99ba38017840e660aa4016b1 (patch) | |
tree | 96c982168cabae474aef68e7b5d1aa62491abf7b /src/i_info.go | |
parent | cool (diff) | |
download | hardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.gz hardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.bz2 hardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.xz hardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.zst hardflip-bca4186e5550006f99ba38017840e660aa4016b1.zip |
commit
Diffstat (limited to '')
-rw-r--r-- | src/i_info.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i_info.go b/src/i_info.go index f36a998..7efd683 100644 --- a/src/i_info.go +++ b/src/i_info.go @@ -255,7 +255,6 @@ func i_info_rdp(ui HardUI, host *HostNode, line int) int { } if line += 1; line > ui.dim[H] - 3 { return line } // rdp shit - qual := [3]string{"Low", "Medium", "High"} i_draw_text(ui.s, (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line, ui.style[TITLE_STYLE], "Screen size: ") @@ -277,7 +276,7 @@ func i_info_rdp(ui HardUI, host *HostNode, line int) int { ui.style[TITLE_STYLE], "Quality: ") i_draw_text(ui.s, (ui.dim[W] / 3) + 12, line, ui.dim[W] - 2, line, - ui.style[DEF_STYLE], qual[host.Quality]) + ui.style[DEF_STYLE], RDP_QUALITY[host.Quality]) if line += 2; line > ui.dim[H] - 3 { return line } if host.Drive != nil { i_draw_text(ui.s, |