diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2009-10-24 01:15:12 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2009-10-24 01:15:12 +0200 |
commit | acac908d4c23334b449dde5238e69be85dcf54bd (patch) | |
tree | 0d1e79bdb2005e83f376ea74c0ed6a51a9173182 | |
parent | e8b2375bb559f9b8bdadca771a9b6577938836c9 (diff) | |
download | fpGUI-acac908d4c23334b449dde5238e69be85dcf54bd.tar.xz |
Fix "index out of bounds" error when clicking on debug inf header menu option.
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
-rw-r--r-- | src/frm_main.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frm_main.pas b/src/frm_main.pas index bb37f1b9..256c5ece 100644 --- a/src/frm_main.pas +++ b/src/frm_main.pas @@ -239,7 +239,7 @@ var begin RichView.Clear; sl := TStringList.Create; - f := THelpFile(Files[0]); + f := THelpFile(CurrentOpenFiles[0]); with sl do begin Add('<b><u>Filename:</u></b> <red>' + f.Filename + '<black>'); |