diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 0732ed3..572f1c5 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -580,6 +580,8 @@ void pdfapp_onkey(pdfapp_t *app, int c) int oldpage = app->pageno; enum panning panto = PAN_TO_TOP; int loadpage; + + loadpage = 1; if (app->isediting) { -- otherwise it is one of the few uninitialized variables, and the default of 1 made sense to me when i read the change that added the variable
*** This bug has been marked as a duplicate of bug 691890 ***