fix rotate

This commit is contained in:
Sebastian Ramacher 2012-02-07 20:45:19 +01:00
parent 4e6d73a912
commit 52775364f7

View file

@ -243,10 +243,6 @@ zathura_page_widget_expose(GtkWidget* widget, GdkEventExpose* event)
unsigned int page_height = widget->allocation.height;
unsigned int page_width = widget->allocation.width;
if (priv->page->document->rotate % 180) {
page_height = widget->allocation.width;
page_width = widget->allocation.height;
}
switch (priv->page->document->rotate) {
case 90: