From: Jack Jansen Date: Fri, 11 Jan 2002 10:24:23 +0000 (+0000) Subject: Don't call PyMac_OutputSeen if we have a custom console. Fix by Alexandre Parenteau. X-Git-Tag: v2.3c1~6860 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00638bd4f93d5e06b3251e16f5f05f6b97081b89;p=python Don't call PyMac_OutputSeen if we have a custom console. Fix by Alexandre Parenteau. --- diff --git a/Mac/Python/pyGUSISIOUX.cp b/Mac/Python/pyGUSISIOUX.cp index 40670d8227..8a5161863f 100644 --- a/Mac/Python/pyGUSISIOUX.cp +++ b/Mac/Python/pyGUSISIOUX.cp @@ -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