Commit 3b228afd authored by Ell's avatar Ell

libgimpconfig: allow writing empty data in gimp_config_writer_data()

parent 10f33b08
......@@ -513,8 +513,8 @@ gimp_config_writer_data (GimpConfigWriter *writer,
gint i;
g_return_if_fail (writer != NULL);
g_return_if_fail (length > 0);
g_return_if_fail (data != NULL);
g_return_if_fail (length >= 0);
g_return_if_fail (data != NULL || length == 0);
if (writer->error)
return;
......
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