From: Andrew M. Kuchling Date: Mon, 10 May 2010 17:18:25 +0000 (+0000) Subject: Move { out of #if...#else block; this confuses Emacs' C-mode X-Git-Tag: v2.7rc1~189 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40f09c07a275627cf48f8516630d84835703b200;p=thirdparty%2FPython%2Fcpython.git Move { out of #if...#else block; this confuses Emacs' C-mode --- diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 3f95cefa8e1f..0c9e84c77855 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1226,10 +1226,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, @@ -1368,10 +1369,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,