mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:33:57 +01:00
Add a const
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
4be0983080
commit
8c5b4a83cf
@ -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 New Issue
Block a user