diff options
| author | Greg Ercolano <erco@seriss.com> | 2024-04-04 10:03:35 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2024-04-04 10:03:35 -0700 |
| commit | 06e495f26256a6d987f6d76cb291ba62fee85857 (patch) | |
| tree | 68a73a61a2dc5cbdfcaf92052b02ddd28af10bba /fluid/ExternalCodeEditor_WIN32.cxx | |
| parent | f779097c967f0224eac5bdd89df2a363c614fa91 (diff) | |
Add NULL check to UNIX save_file() (#945)
Diffstat (limited to 'fluid/ExternalCodeEditor_WIN32.cxx')
| -rw-r--r-- | fluid/ExternalCodeEditor_WIN32.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/ExternalCodeEditor_WIN32.cxx b/fluid/ExternalCodeEditor_WIN32.cxx index 1afb0afff..bb7d5791a 100644 --- a/fluid/ExternalCodeEditor_WIN32.cxx +++ b/fluid/ExternalCodeEditor_WIN32.cxx @@ -544,8 +544,10 @@ int ExternalCodeEditor::reap_editor(DWORD *pid_reaped) { return -1; // any other return unexpected } -// [Public] Open external editor using 'editor_cmd' to edit 'code' +// [Public] Open external editor using 'editor_cmd' to edit 'code'. +// // 'code' contains multiline code to be edited as a temp file. +// 'code' can be NULL -- edits an empty file if so. // // Returns: // 0 if succeeds |
