Build fix for Linux
[disorder] / disobedience / help.c
index db46db0..f1822b9 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder
- * Copyright (C) 2007 Richard Kettlewell
+ * Copyright (C) 2007, 2008 Richard Kettlewell
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ void popup_help(void) {
   pid_t pid;
   int w;
 
-  byte_xasprintf(&path, "%s/disobedience.html", docdir);
+  byte_xasprintf(&path, "%s/disobedience.html", pkgdatadir);
   if(!(pid = xfork())) {
     exitfn = _exit;
     if(!xfork()) {