summaryrefslogtreecommitdiff
path: root/gui/comp.c
diff options
context:
space:
mode:
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);
}