summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-02-10 18:54:08 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-02-10 18:54:08 +0100
commit5ce0b2c6a402ad4eee4ad8ff37a1a058a27be1b5 (patch)
tree21e2ef51245297d835b5d4e25d9026fbe2a62d2f /src
parent8e801ab3e27df7ef3b459fdd31c653894edf638d (diff)
parent3854f81a2836faf2b793c73777ba4ef372861123 (diff)
merge
Diffstat (limited to 'src')
-rw-r--r--src/GsWidget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx
index 7dded29..0453f44 100644
--- a/src/GsWidget.cxx
+++ b/src/GsWidget.cxx
@@ -216,6 +216,8 @@ GsWidget::load_page(int p) {
fl_cursor(FL_CURSOR_WAIT);
kill_gs();
+ page = p;
+
if (!offscreen) {
reload_needed = 1;
return 0;
@@ -241,7 +243,6 @@ GsWidget::load_page(int p) {
size_t len;
gs_pid = pid;
- page = p;
close(pdes[0]);