Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
python-base
python-ncurses-6.0-accessors.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-ncurses-6.0-accessors.patch of Package python-base
Index: Python-2.7.10/Modules/_cursesmodule.c =================================================================== --- Python-2.7.10.orig/Modules/_cursesmodule.c +++ Python-2.7.10/Modules/_cursesmodule.c @@ -807,7 +807,7 @@ PyCursesWindow_EchoChar(PyCursesWindowOb } #ifdef WINDOW_HAS_FLAGS - if (self->win->_flags & _ISPAD) + if (is_pad(self->win)) return PyCursesCheckERR(pechochar(self->win, ch | attr), "echochar"); else @@ -1237,7 +1237,7 @@ PyCursesWindow_NoOutRefresh(PyCursesWind #ifndef WINDOW_HAS_FLAGS if (0) #else - if (self->win->_flags & _ISPAD) + if (is_pad(self->win)) #endif { switch(PyTuple_Size(args)) { @@ -1380,7 +1380,7 @@ PyCursesWindow_Refresh(PyCursesWindowObj #ifndef WINDOW_HAS_FLAGS if (0) #else - if (self->win->_flags & _ISPAD) + if (is_pad(self->win)) #endif { switch(PyTuple_Size(args)) { @@ -1447,7 +1447,7 @@ PyCursesWindow_SubWin(PyCursesWindowObje /* printf("Subwin: %i %i %i %i \n", nlines, ncols, begin_y, begin_x); */ #ifdef WINDOW_HAS_FLAGS - if (self->win->_flags & _ISPAD) + if (is_pad(self->win)) win = subpad(self->win, nlines, ncols, begin_y, begin_x); else #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor