Skip to content

Commit 9f9c889

Browse files
committed
Fix array size
1 parent 310a819 commit 9f9c889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_macosx.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ static CGFloat _get_device_scale(CGContextRef cr)
617617
PyErr_SetString(PyExc_RuntimeError, "NSWindow* is NULL");
618618
return -1;
619619
}
620-
static char* kwlist[3] = { "canvas", NULL };
620+
static char* kwlist[] = { "canvas", NULL };
621621
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O!", kwlist,
622622
&FigureCanvasType, &canvas)) {
623623
return -1;

0 commit comments

Comments
 (0)