summaryrefslogtreecommitdiff
path: root/gui/comp.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-15 16:02:00 -0300
committerWerner Almesberger <werner@almesberger.net>2016-10-15 17:28:11 -0300
commit039812a978a2be64108a76df292dc0fb21db2ba4 (patch)
tree3493c038e111a70313ef7cddfe1b07673b1b7920 /gui/comp.c
parent3cc35a674b1eed337bba15626b55e951199042f0 (diff)
downloadeeshow-039812a978a2be64108a76df292dc0fb21db2ba4.tar.gz
eeshow-039812a978a2be64108a76df292dc0fb21db2ba4.tar.bz2
eeshow-039812a978a2be64108a76df292dc0fb21db2ba4.zip
gui/viewer.c (viewer): launch external viewer; use it in comp.c
Diffstat (limited to 'gui/comp.c')
-rw-r--r--gui/comp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/comp.c b/gui/comp.c
index 31d7209..453cd78 100644
--- a/gui/comp.c
+++ b/gui/comp.c
@@ -23,6 +23,7 @@
#include "gui/aoi.h"
#include "gui/over.h"
#include "gui/pop.h"
+#include "gui/viewer.h"
#include "gui/common.h"
@@ -113,7 +114,7 @@ static void comp_click(void *user)
{
const char *doc = user;
- fprintf(stderr, "%s\n", doc);
+ viewer(doc);
}