summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-06-19 08:10:57 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-06-19 08:10:57 +0000
commitb38897ff3ba21cb8ef33286cc45b7b96832dea49 (patch)
tree52b269539512088c4d6b0ccd4e1f3273269d0138
parentf864a726a5e7b6eefa02d18201e0093fcd55162d (diff)
add sleep() when opening file from commandline.
add sleep() when opening file from commandline.
-rw-r--r--src/flpsed.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flpsed.cxx b/src/flpsed.cxx
index 02bea09..51d44b1 100644
--- a/src/flpsed.cxx
+++ b/src/flpsed.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: flpsed.cxx,v 1.39 2005/06/17 20:00:44 hofmann Exp $"
+// "$Id: flpsed.cxx,v 1.40 2005/06/19 10:10:57 hofmann Exp $"
//
// flpsed program.
//
@@ -527,6 +527,8 @@ int main(int argc, char** argv) {
win->show(1, argv);
if (in_fp) {
+ sleep(1); // this seems to be necessary on fast systems to make the
+ // GHOSTVIEW property available to ghostsscript.
psed_p->load(in_fp);
fclose(in_fp);
}