summaryrefslogtreecommitdiff
path: root/debian/patches/0705-help_path.patch
blob: ac5e463c6a4aa4f9d05be7276b54993752fd987b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Change help html directory to the installation specific
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Forwarded: not-needed
Last-Update: 2017-01-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/app/wlib/gtklib/gtkhelp.c
===================================================================
--- trunk.orig/app/wlib/gtklib/gtkhelp.c
+++ trunk/app/wlib/gtklib/gtkhelp.c
@@ -677,8 +677,12 @@ EXPORT void wHelp( const char * topic )
 		directory = malloc( BUFSIZ );
 		assert( directory != NULL );
 			
-		sprintf( directory, "%s/html/", wGetAppLibDir());
-		
+/*		sprintf( directory, "%s/html/", wGetAppLibDir());*/
+/*
+ * Change path for debian installation
+ *
+ */
+		sprintf( directory, "%s/html/", "/usr/share/doc/xtrkcad-common");
 		wHelpWindow = CreateHelpWindow();
 		/* load the default content */
 		load_into_view ("index.html", MAIN_VIEW);