koreader/koreader-base — pull request #278 by hwhw (2014-11-25 11:41:57+00:00)
Title: replace viewport check by clamping

The viewport dimension check was buggy (wrong upper limits).
We don't need it there anyway, rather, we clamp the coordinates
in the viewport() implementation in the Blitbuffer API.