Commit 8c5b4a83 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Add a const

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 4be09830
......@@ -421,7 +421,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
if (priv->surface != NULL || priv->thumbnail != NULL) {
cairo_save(cairo);
unsigned int rotation = zathura_document_get_rotation(document);
const unsigned int rotation = zathura_document_get_rotation(document);
switch (rotation) {
case 90:
cairo_translate(cairo, page_width, 0);
......
Markdown is supported
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