Syntax error.

This commit is contained in:
Pere Pujal i Carabantes 2010-02-02 23:05:29 +00:00
parent 460945eef1
commit 2697ff0015

View file

@ -11863,13 +11863,13 @@ static int do_save(int tool, int dont_show_success_results)
}
free(fname);
if (are_labels)
{
snprintf(tmp, sizeof(tmp), "saved/.label/%s%s", file_id, FNAME_EXTENSION);
fname = get_fname(tmp, DIR_SAVE);
debug(fname);
if (are_labels())
{
fi = fopen(fname, "wb");
if (!do_png_save(fi, fname, canvas))
@ -11883,7 +11883,7 @@ static int do_save(int tool, int dont_show_success_results)
free(fname);
/* saving information about text on label layer */
if (are_labels)
if (are_labels())
{
snprintf(tmp, sizeof(tmp), "saved/.label/%s.dat", file_id);
fname = get_fname(tmp, DIR_SAVE);