| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -67,8 +67,7 @@ static PyObject *mpl_tk_blit(PyObject *self, PyObject *args) | |||
| 67 | 67 | PyErr_SetString(PyExc_ValueError, "Failed to extract Tk_PhotoHandle"); | |
| 68 | 68 | goto exit; | |
| 69 | 69 | } | |
| 70 | - if (0 > y1 || y1 > y2 || y2 > height || | ||
| 71 | - 0 > x1 || x1 > x2 || x2 > width ) { | ||
| 70 | + if (0 > y1 || y1 > y2 || y2 > height || 0 > x1 || x1 > x2 || x2 > width) { | ||
| 72 | 71 | PyErr_SetString(PyExc_ValueError, "Attempting to draw out of bounds"); | |
| 73 | 72 | goto exit; | |
| 74 | 73 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments