mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
Bug 585665 – Exporting to PSD with a blank text layer creates a corrupt file
Use write_gchar() to write an empty string, not write_gint16().
This commit is contained in:
parent
fc66ca5169
commit
48a6b0c59c
|
@ -416,7 +416,7 @@ write_pascalstring (FILE *fd,
|
|||
}
|
||||
else
|
||||
{
|
||||
write_gint16 (fd, 0, why);
|
||||
write_gchar (fd, 0, why);
|
||||
}
|
||||
|
||||
/* If total length (length byte + content) is not a multiple of PADDING,
|
||||
|
|
Loading…
Reference in a new issue