diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2010-05-10 23:14:26 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2010-05-10 23:14:26 (GMT) |
commit | abc79cd6bb316c29f2dbcb0b642c2541dfff95e8 (patch) | |
tree | 65e3afce7d8c4c7fead6ab89dba89303ff2a6847 /Modules/_cursesmodule.c | |
parent | cdd01d2ddb2e3cd5a86a04d7abdabdcd64be6590 (diff) | |
download | cpython-abc79cd6bb316c29f2dbcb0b642c2541dfff95e8.zip cpython-abc79cd6bb316c29f2dbcb0b642c2541dfff95e8.tar.gz cpython-abc79cd6bb316c29f2dbcb0b642c2541dfff95e8.tar.bz2 |
Merged revisions 81049 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81049 | andrew.kuchling | 2010-05-10 13:18:25 -0400 (Mon, 10 May 2010) | 1 line
Move { out of #if...#else block; this confuses Emacs' C-mode
........
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 40b9844..65aa01e 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1234,10 +1234,11 @@ PyCursesWindow_NoOutRefresh(PyCursesWindowObject *self, PyObject *args) int rtn; #ifndef WINDOW_HAS_FLAGS - if (0) { + if (0) #else - if (self->win->_flags & _ISPAD) { + if (self->win->_flags & _ISPAD) #endif + { switch(PyTuple_Size(args)) { case 6: if (!PyArg_ParseTuple(args, @@ -1403,10 +1404,11 @@ PyCursesWindow_Refresh(PyCursesWindowObject *self, PyObject *args) int rtn; #ifndef WINDOW_HAS_FLAGS - if (0) { + if (0) #else - if (self->win->_flags & _ISPAD) { + if (self->win->_flags & _ISPAD) #endif + { switch(PyTuple_Size(args)) { case 6: if (!PyArg_ParseTuple(args, |