diff options
Diffstat (limited to 'fluid/Fl_Function_Type.cxx')
| -rw-r--r-- | fluid/Fl_Function_Type.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index f7a7f30d8..6dc9fc927 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -611,6 +611,7 @@ void Fl_Code_Type::open() { if ( G_use_external_editor && G_external_editor_command[0] ) { const char *cmd = G_external_editor_command; const char *code = name(); + if (!code) code = ""; if ( editor_.open_editor(cmd, code) == 0 ) return; // return if editor opened ok, fall thru to built-in if not } |
