Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 584420c

Browse filesBrowse files
authored
Merge pull request #10521 from matplotlib/auto-backport-of-pr-10519
Backport PR #10519 on branch v2.2.x
2 parents 652a4c3 + 286d41b commit 584420c
Copy full SHA for 584420c

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎src/_macosx.m

Copy file name to clipboardExpand all lines: src/_macosx.m
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,9 @@ -(void)save_figure:(id)sender
13071307
}
13081308
Py_ssize_t list_index = 0;
13091309
PyObject* list = PyList_New(m);
1310-
for (size_t state_index = 0; state_index < n; state_index++)
1310+
1311+
size_t state_index;
1312+
for (state_index = 0; state_index < n; state_index++)
13111313
{
13121314
if(states[state_index]==1)
13131315
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.