Commit 0897ddff authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Remove unnecessary parens

parent 78cff3f5
......@@ -102,7 +102,7 @@ impl Screen for GraphicScreen {
let size = self.display.offscreen.len(); = match whence {
SEEK_SET => cmp::min(size, (pos/4)),
SEEK_SET => cmp::min(size, pos/4),
SEEK_CUR => cmp::max(0, cmp::min(size as isize, as isize + (pos/4) as isize)) as usize,
SEEK_END => cmp::max(0, cmp::min(size as isize, size as isize + (pos/4) as isize)) as usize,
_ => return Err(Error::new(EINVAL))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment