mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
widget: remove debug panic
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -146,9 +146,6 @@ func (e *editBuffer) Read(p []byte) (int, error) {
|
||||
total += n
|
||||
e.pos += n
|
||||
}
|
||||
if e.pos > e.len() {
|
||||
panic("hey!")
|
||||
}
|
||||
return total, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user