$OpenBSD: patch-src_bindings_cc,v 1.3 2014/05/15 01:29:52 jturner Exp $

Check ${LOCALBASE} for help file.

--- src/bindings.cc.orig	Wed May 14 04:01:18 2014
+++ src/bindings.cc	Wed May 14 21:21:29 2014
@@ -19,7 +19,7 @@
 
 
 #include <algorithm>
-#include <cursesw.h>
+#include <curses.h>
 #include <fstream>
 #include <iostream>
 #include <map>
@@ -719,9 +719,9 @@ int show_help(lua_State * L)
      */
     if (str == NULL)
     {
-        if ( CFile::exists( "/usr/share/lumail/lumail.help" ))
+        if ( CFile::exists( "${LOCALBASE}/share/lumail/lumail.help" ))
         {
-            lua_pushstring(L, "/usr/share/lumail/lumail.help"  );
+            lua_pushstring(L, "${LOCALBASE}/share/lumail/lumail.help"  );
             show_file_contents( L );
             CLua::Instance()->execute( "global_mode( \"text\" )" );
             return 0;
