summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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];