summaryrefslogtreecommitdiff
path: root/src/Postscript.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2004-07-28 18:15:48 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2004-07-28 18:15:48 +0000
commitfcbe89c0c06b39a1fab26e2908788b01283e4f87 (patch)
tree0237cc09f1e2c2f76a0113885ecfcbce160fae0b /src/Postscript.cxx
parentea40d16b80b8cdd7dbf17ef36c8e84d86c9a58be (diff)
fix segfault when reloading documents
fix segfault when reloading documents
Diffstat (limited to 'src/Postscript.cxx')
-rw-r--r--src/Postscript.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Postscript.cxx b/src/Postscript.cxx
index 6429863..e0916de 100644
--- a/src/Postscript.cxx
+++ b/src/Postscript.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Postscript.cxx,v 1.6 2004/07/18 20:49:43 hofmann Exp $"
+// "$Id: Postscript.cxx,v 1.7 2004/07/28 20:15:48 hofmann Exp $"
//
// Postscript handling routines.
//
@@ -143,7 +143,7 @@ PSParser_2::PSParser_2(PSEditWidget *p) : PSParser(p) {
}
int PSParser_2::parse(char *line) {
- int x1, y1, size, page, dummy;
+ int x1, y1, size, dummy;
char buf[2028];
if (!inside && strcmp(line, PSEDIT_BEGIN) == 0) {