From 870aa68b4c1da35ed48326c4b376e9edf0f0441f Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Wed, 25 Aug 2010 00:32:34 +0200 Subject: fpg_dialog. Minor sanity check. --- src/gui/fpg_dialogs.pas | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gui/fpg_dialogs.pas b/src/gui/fpg_dialogs.pas index 25f01da9..f96d7a44 100644 --- a/src/gui/fpg_dialogs.pas +++ b/src/gui/fpg_dialogs.pas @@ -698,6 +698,8 @@ var end; begin + if Desc = '' then + exit; cp := 1; c := Desc[1]; -- cgit v1.2.3-70-g09d2