mirror of https://github.com/python/cpython
Move { out of #if...#else block; this confuses Emacs' C-mode
This commit is contained in:
parent
932e162a96
commit
40f09c07a2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue