summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GsWidget.cxx2
-rw-r--r--src/PSEditWidget.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx
index 0b6bdad..d92b8ba 100644
--- a/src/GsWidget.cxx
+++ b/src/GsWidget.cxx
@@ -193,7 +193,7 @@ int GsWidget::load() {
exec_gs();
} else {
gs_pid = pid;
- page = 1;
+ page = 0;
}
return 0;
diff --git a/src/PSEditWidget.cxx b/src/PSEditWidget.cxx
index d67ac94..e3c1307 100644
--- a/src/PSEditWidget.cxx
+++ b/src/PSEditWidget.cxx
@@ -130,7 +130,7 @@ void PSEditWidget::new_text(int x1, int y1, const char *s, int p) {
}
void PSEditWidget::new_text(int x1, int y1, const char *s) {
- new_text(x1, y1, s, page);
+ new_text(x1, y1, s, get_page());
}
int PSEditWidget::set_cur_text(int x1, int y1) {