File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2408,7 +2408,7 @@ RendererAgg::tostring_rgba_minimized(const Py::Tuple& args)
24082408 data = PyBytes_FromStringAndSize (NULL , newsize);
24092409 if (data == NULL )
24102410 {
2411- throw Py::MemoryError (" RendererAgg::tostring_minimized could not allocate memory" );
2411+ throw Py::MemoryError (" RendererAgg::tostring_rgba_minimized could not allocate memory" );
24122412 }
24132413 dst = (unsigned int *)PyBytes_AsString (data);
24142414
@@ -2424,7 +2424,7 @@ RendererAgg::tostring_rgba_minimized(const Py::Tuple& args)
24242424 data = PyBytes_FromStringAndSize (NULL , 0 );
24252425 if (data == NULL )
24262426 {
2427- throw Py::MemoryError (" RendererAgg::tostring_minimized could not allocate memory" );
2427+ throw Py::MemoryError (" RendererAgg::tostring_rgba_minimized could not allocate memory" );
24282428 }
24292429 }
24302430
You can’t perform that action at this time.
0 commit comments