mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 05:16:01 +01:00
Add a const
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
4be0983080
commit
8c5b4a83cf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue