Save NULL string value as ""
parent
170f947bb0
commit
9ab44dd1b0
|
@ -989,7 +989,9 @@ write_item (const char *key,
|
|||
}
|
||||
|
||||
string = moo_value_convert_to_string (item_value (item));
|
||||
g_return_if_fail (string != NULL);
|
||||
|
||||
if (!string)
|
||||
string = "";
|
||||
|
||||
if (!stuff->root)
|
||||
stuff->root =
|
||||
|
|
Loading…
Reference in New Issue