Kaydet (Commit) 40f09c07 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Move { out of #if...#else block; this confuses Emacs' C-mode

üst 932e162a
...@@ -1226,10 +1226,11 @@ PyCursesWindow_NoOutRefresh(PyCursesWindowObject *self, PyObject *args) ...@@ -1226,10 +1226,11 @@ PyCursesWindow_NoOutRefresh(PyCursesWindowObject *self, PyObject *args)
int rtn; int rtn;
#ifndef WINDOW_HAS_FLAGS #ifndef WINDOW_HAS_FLAGS
if (0) { if (0)
#else #else
if (self->win->_flags & _ISPAD) { if (self->win->_flags & _ISPAD)
#endif #endif
{
switch(PyTuple_Size(args)) { switch(PyTuple_Size(args)) {
case 6: case 6:
if (!PyArg_ParseTuple(args, if (!PyArg_ParseTuple(args,
...@@ -1368,10 +1369,11 @@ PyCursesWindow_Refresh(PyCursesWindowObject *self, PyObject *args) ...@@ -1368,10 +1369,11 @@ PyCursesWindow_Refresh(PyCursesWindowObject *self, PyObject *args)
int rtn; int rtn;
#ifndef WINDOW_HAS_FLAGS #ifndef WINDOW_HAS_FLAGS
if (0) { if (0)
#else #else
if (self->win->_flags & _ISPAD) { if (self->win->_flags & _ISPAD)
#endif #endif
{
switch(PyTuple_Size(args)) { switch(PyTuple_Size(args)) {
case 6: case 6:
if (!PyArg_ParseTuple(args, if (!PyArg_ParseTuple(args,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment