hwhw/kindlepdfviewer — pull request #618 by tigran123 (2012-11-19 20:39:05+00:00)
Title: Cleanup the forcing of portrait mode

1. Move the setting of G_width/G_height inside the function Screen:setRotationMode()

2. Don't call self:clearCache() twice on closing the document (once is enough).

3. Get rid of UniReader:setRotationMode() method because Screen:setRotationMode() is enough, as there is nothing reader- or document-specific in this function.