Codebase list unrtf / b7065f7 debian / patches / 0003-Make-SHAREDIR-unrtf-default-path-for-output-format-c.patch
b7065f7

Tree @b7065f7 (Download .tar.gz)

0003-Make-SHAREDIR-unrtf-default-path-for-output-format-c.patch @b7065f7

38a38f4
 
7f7dd47
38a38f4
 
 
 
 
 
7f7dd47
38a38f4
 
 
 
 
 
 
b7065f7
38a38f4
 
 
From: Willi Mann <willi@wm1.at>
Date: Sun, 23 Dec 2012 21:42:19 +0100
Subject: Make $SHAREDIR/unrtf default path for output format configuration

---
 src/main.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.h b/src/main.h
index 4230d47..0fc8a46 100644
--- a/src/main.h
+++ b/src/main.h
@@ -47,7 +47,7 @@ extern int no_remap_mode;
 #include "output.h"
 #endif
 
-#define CONFIG_DIR "/usr/local/lib/unrtf/"
+#define CONFIG_DIR PKGDATADIR "/"
 #define DEFAULT_OUTPUT "html"
 
 extern OutputPersonality *op;