summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-08-25 00:32:34 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-08-25 00:32:34 +0200
commit870aa68b4c1da35ed48326c4b376e9edf0f0441f (patch)
treee10dee8fce714c0e502947d0259f9f3df681fe11 /src
parent072f58038d44dc27297d53585de75bcd274127ab (diff)
downloadfpGUI-870aa68b4c1da35ed48326c4b376e9edf0f0441f.tar.xz
fpg_dialog. Minor sanity check.
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_dialogs.pas2
1 files changed, 2 insertions, 0 deletions
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];