"...svn:/svn.code.sf.net/p/irrlicht/code/trunk@4096" did not exist on "5d18ec922ff538d95d353a45dbc7d1ab62a218e0"
Commit 953b9e63 authored by hybrid's avatar hybrid

Changed error message again.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1530 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 97dddc60
......@@ -157,9 +157,11 @@ int IrrPrintXError(Display *display, XErrorEvent *event)
char msg[256];
char msg2[256];
snprintf(msg, 256, "%d", event->request_code);
XGetErrorDatabaseText(display, "XRequest", msg, "unknown", msg2, 256);
XGetErrorText(display, event->error_code, msg, 256);
XGetErrorDatabaseText(display, "Irrlicht", "XError", "X Error", msg2, 256);
os::Printer::log(msg2, msg, ELL_WARNING);
os::Printer::log("X Error", msg, ELL_WARNING);
os::Printer::log("From call ", msg2, ELL_WARNING);
return 0;
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment