mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 18:23:46 +01:00
fix a warning
This commit is contained in:
parent
4caa398a27
commit
2b0297b785
@ -2312,7 +2312,7 @@ sc_scroll(Argument* argument)
|
|||||||
gdouble view_size = gtk_adjustment_get_page_size(adjustment);
|
gdouble view_size = gtk_adjustment_get_page_size(adjustment);
|
||||||
gdouble value = gtk_adjustment_get_value(adjustment);
|
gdouble value = gtk_adjustment_get_value(adjustment);
|
||||||
gdouble max = gtk_adjustment_get_upper(adjustment) - view_size;
|
gdouble max = gtk_adjustment_get_upper(adjustment) - view_size;
|
||||||
gboolean static ss = FALSE;
|
static gboolean ss = FALSE;
|
||||||
|
|
||||||
if((argument->n == UP || argument->n == HALF_UP || argument->n == FULL_UP) && value == 0)
|
if((argument->n == UP || argument->n == HALF_UP || argument->n == FULL_UP) && value == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user