summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/ExternalCodeEditor_WIN32.cxx4
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",