aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-29 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-29 20:20:20 +0100
commitac5e7dd7aa86fa5adf263912e4b1be2fc72fde28 (patch)
tree736c9ff9f24634d07a829c39247a7ee0b0bf0114 /src
parentnoqwe (diff)
downloadhardflip-ac5e7dd7aa86fa5adf263912e4b1be2fc72fde28.tar.gz
hardflip-ac5e7dd7aa86fa5adf263912e4b1be2fc72fde28.tar.bz2
hardflip-ac5e7dd7aa86fa5adf263912e4b1be2fc72fde28.tar.xz
hardflip-ac5e7dd7aa86fa5adf263912e4b1be2fc72fde28.tar.zst
hardflip-ac5e7dd7aa86fa5adf263912e4b1be2fc72fde28.zip
definite choice
Diffstat (limited to 'src')
-rw-r--r--src/c_utils.go1
-rw-r--r--src/i_ui.go3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/c_utils.go b/src/c_utils.go
index 2b0161d..5bf4ae6 100644
--- a/src/c_utils.go
+++ b/src/c_utils.go
@@ -87,7 +87,6 @@ func c_get_data_dir(ui *HardUI) string {
}
c_error_mode("could read path" + ptr, err, ui)
return ""
- // FIX: segv
}
return ptr
}
diff --git a/src/i_ui.go b/src/i_ui.go
index 9962df7..b7b83a9 100644
--- a/src/i_ui.go
+++ b/src/i_ui.go
@@ -156,9 +156,6 @@ func i_draw_msg(s tcell.Screen, lines int, box_style tcell.Style,
box_style)
s.SetContent(0, dim[H] - 2, tcell.RuneLLCorner, nil, box_style)
s.SetContent(dim[W] - 1, dim[H] - 2, tcell.RuneLRCorner, nil, box_style)
- // s.SetContent(dim[W] / 3, dim[H] - 2 - lines, tcell.RuneBTee, nil, )
- // s.SetContent(0, dim[H] - 2 - lines, tcell.RuneLTee, nil, )
- // s.SetContent(dim[W] - 1, dim[H] - 2 - lines, tcell.RuneRTee, nil, )
for y := dim[H] - 2 - lines + 1; y < dim[H] - 2; y++ {
for x := 1; x < dim[W] - 1; x++ {
s.SetContent(x, y, ' ', nil, box_style)