summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg/Dlgmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/dlg/Dlgmodule.c')
-rw-r--r--Mac/Modules/dlg/Dlgmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/dlg/Dlgmodule.c b/Mac/Modules/dlg/Dlgmodule.c
index 9e59ecd..2abd785 100644
--- a/Mac/Modules/dlg/Dlgmodule.c
+++ b/Mac/Modules/dlg/Dlgmodule.c
@@ -73,7 +73,7 @@ static pascal Boolean Dlg_UnivFilterProc(DialogPtr dialog,
Py_DECREF(args);
}
if (res == NULL) {
- fprintf(stderr, "Exception in Dialog Filter\n");
+ PySys_WriteStderr("Exception in Dialog Filter\n");
PyErr_Print();
*itemHit = -1; /* Fake return item */
return 1; /* We handled it */
@@ -124,7 +124,7 @@ static pascal void Dlg_UnivUserItemProc(DialogPtr dialog,
Py_DECREF(args);
}
if (res == NULL) {
- fprintf(stderr, "Exception in Dialog UserItem proc\n");
+ PySys_WriteStderr("Exception in Dialog UserItem proc\n");
PyErr_Print();
}
Py_XDECREF(res);