Commit 95bc70d9 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

allow passing NULL to temp_buf_resize() again.

2001-11-13  Michael Natterer  <mitch@gimp.org>

	* app/base/temp-buf.c: allow passing NULL to temp_buf_resize() again.
parent 63d75ee7
2001-11-13 Michael Natterer <mitch@gimp.org>
* app/base/temp-buf.c: allow passing NULL to temp_buf_resize() again.
2001-11-13 Michael Natterer <mitch@gimp.org>
Sven Neumann <sven@gimp.org>
......
......@@ -316,7 +316,6 @@ temp_buf_resize (TempBuf *buf,
{
gint size;
g_return_val_if_fail (buf != NULL, NULL);
g_return_val_if_fail (width > 0 && height > 0, NULL);
/* calculate the requested size */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment