diff options
| author | Greg Ercolano <erco@seriss.com> | 2023-01-05 15:46:33 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2023-01-05 15:46:33 -0800 |
| commit | 69773338b9bdd91c5f8e94400f68172ccfc098ac (patch) | |
| tree | 97dcebf336fcf8611f138c1ee995572ce42e30cc /fluid/ExternalCodeEditor_WIN32.cxx | |
| parent | e0830305a2c36bbc56f4a2dc0d009729592a438a (diff) | |
Include OS error if reap_editor() fails
Diffstat (limited to 'fluid/ExternalCodeEditor_WIN32.cxx')
| -rw-r--r-- | fluid/ExternalCodeEditor_WIN32.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/ExternalCodeEditor_WIN32.cxx b/fluid/ExternalCodeEditor_WIN32.cxx index 704209ab4..6bdb54223 100644 --- a/fluid/ExternalCodeEditor_WIN32.cxx +++ b/fluid/ExternalCodeEditor_WIN32.cxx @@ -159,8 +159,8 @@ void ExternalCodeEditor::close_editor() { case -2: // no editor running (unlikely to happen) return; case -1: // error - fl_alert("Error reaping external editor\n" - "pid=%ld file=%s", long(pinfo_.dwProcessId), filename()); + fl_alert("Error reaping external editor\npid=%ld file=%s\nOS error message=%s", + long(pinfo_.dwProcessId), filename(), get_ms_errmsg()); break; case 0: // process still running switch ( fl_choice("Please close external editor\npid=%ld file=%s", |
