diff options
Diffstat (limited to 'c_hardflip.go')
-rw-r--r-- | c_hardflip.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/c_hardflip.go b/c_hardflip.go index 9451056..2e6dd5c 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -72,10 +72,9 @@ type HardData struct { func c_reset_ptr(data *HardData) { if data.ptr = data.ldirs.head.lhost.head; data.ptr != nil { data.ui.line = 1 - return + } else if data.ptr = data.ldirs.head.next; data.ptr != nil { + data.ui.line = 1 } - data.ptr = data.ldirs.head.next - data.ui.line = 1 } func main() { |