Commit 00638bd4 authored by Jack Jansen's avatar Jack Jansen

Don't call PyMac_OutputSeen if we have a custom console. Fix by Alexandre Parenteau.

parent a55ffaee
......@@ -79,10 +79,12 @@ bool GUSISIOUXSocket::initialized = false;
GUSISIOUXSocket::GUSISIOUXSocket(int fd) : fFd(fd)
{
if (!PyMac_GetDelayConsoleFlag() && !hasCustomConsole() && !initialized)
Initialize();
/* Tell the upper layers there's no unseen output */
PyMac_OutputSeen();
if (!hasCustomConsole()) {
if (!PyMac_GetDelayConsoleFlag() && !initialized)
Initialize();
/* Tell the upper layers there's no unseen output */
PyMac_OutputSeen();
}
}
void
......
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