diff options
Diffstat (limited to 'source/blender/python/api2_2x/Window.c')
-rw-r--r-- | source/blender/python/api2_2x/Window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Window.c b/source/blender/python/api2_2x/Window.c index 067bfc8d33a..1053c29e930 100644 --- a/source/blender/python/api2_2x/Window.c +++ b/source/blender/python/api2_2x/Window.c @@ -971,7 +971,7 @@ static PyObject *M_Window_QAdd( PyObject * self, PyObject * args ) static PyObject *M_Window_QHandle( PyObject * self, PyObject * args ) { short win; - ScrArea *sa = curarea; + ScrArea *sa = G.curscreen->areabase.first; ScrArea *oldsa = NULL; if( !PyArg_ParseTuple( args, "h", &win ) ) |