From b38897ff3ba21cb8ef33286cc45b7b96832dea49 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 19 Jun 2005 08:10:57 +0000 Subject: add sleep() when opening file from commandline. add sleep() when opening file from commandline. --- src/flpsed.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3