diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-01-11 10:24:23 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-01-11 10:24:23 (GMT) |
commit | 00638bd4f93d5e06b3251e16f5f05f6b97081b89 (patch) | |
tree | cab02aae288f8c653ac17d18b0c3cf422651ec60 | |
parent | a55ffaeee9eb2fba62f280c364b3460fafd9efc9 (diff) | |
download | cpython-00638bd4f93d5e06b3251e16f5f05f6b97081b89.zip cpython-00638bd4f93d5e06b3251e16f5f05f6b97081b89.tar.gz cpython-00638bd4f93d5e06b3251e16f5f05f6b97081b89.tar.bz2 |
Don't call PyMac_OutputSeen if we have a custom console. Fix by Alexandre Parenteau.
-rw-r--r-- | Mac/Python/pyGUSISIOUX.cp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Mac/Python/pyGUSISIOUX.cp b/Mac/Python/pyGUSISIOUX.cp index 40670d8..8a51618 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 |