mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +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
|
total += n
|
||||||
e.pos += n
|
e.pos += n
|
||||||
}
|
}
|
||||||
if e.pos > e.len() {
|
|
||||||
panic("hey!")
|
|
||||||
}
|
|
||||||
return total, nil
|
return total, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user