[gs-bugs] [Bug 691929] New: in pdfapp_onkey load page should start out as 1
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Thu Feb 3 06:24:29 UTC 2011
http://bugs.ghostscript.com/show_bug.cgi?id=691929
Summary: in pdfapp_onkey load page should start out as 1
Product: MuPDF
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: apps
AssignedTo: tor.andersson at artifex.com
ReportedBy: dsdutkiewicz at msn.com
QAContact: gs-bugs at ghostscript.com
Estimated Hours: 0.0
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
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list