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

This commit is contained in:
Jack Jansen 2002-01-11 10:24:23 +00:00
parent a55ffaeee9
commit 00638bd4f9

View file

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