From 79c447c7fb49a376ad54d63365166903601af734 Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Fri, 16 Mar 2012 20:05:32 -0400 Subject: [PATCH] Some updates to help system --- mystic/bbs_ansi_help.pas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mystic/bbs_ansi_help.pas b/mystic/bbs_ansi_help.pas index 525c8da..b81901a 100644 --- a/mystic/bbs_ansi_help.pas +++ b/mystic/bbs_ansi_help.pas @@ -42,6 +42,7 @@ Uses m_Strings, bbs_Ansi_MenuBox, bbs_Core, + bbs_Common, MPL_Execute; Constructor TAnsiMenuHelp.Create; @@ -254,7 +255,9 @@ Begin Template := strWordGet(2, Str, ';'); Keyword := strWordGet(3, Str, ';'); - Assign (HelpFile, FN); + If Pos(PathChar, FN) = 0 Then FN := Session.Lang.TextPath + FN; + + Assign (HelpFile, FN + '.hlp'); {$I-} Reset (HelpFile); {$I+} If IoResult <> 0 Then Exit;