diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-02-15 19:47:33 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-02-15 19:47:33 +0100 |
commit | e3e93b9ef2ec8451d7b6237be31ed9bcdebe9459 (patch) | |
tree | f188ff28bc12d6fdd0830e7eae02a3e1b3098302 /src | |
parent | b32a1deee701e7ba6477563eb6a80701aac165bc (diff) |
fix page counting in non DSC case
Diffstat (limited to 'src')
-rw-r--r-- | src/GsWidget.cxx | 2 | ||||
-rw-r--r-- | src/PSEditWidget.cxx | 2 |
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) { |