Syntax error.
This commit is contained in:
parent
460945eef1
commit
2697ff0015
1 changed files with 4 additions and 4 deletions
|
|
@ -11863,13 +11863,13 @@ static int do_save(int tool, int dont_show_success_results)
|
||||||
}
|
}
|
||||||
|
|
||||||
free(fname);
|
free(fname);
|
||||||
|
|
||||||
if (are_labels)
|
|
||||||
{
|
|
||||||
snprintf(tmp, sizeof(tmp), "saved/.label/%s%s", file_id, FNAME_EXTENSION);
|
snprintf(tmp, sizeof(tmp), "saved/.label/%s%s", file_id, FNAME_EXTENSION);
|
||||||
fname = get_fname(tmp, DIR_SAVE);
|
fname = get_fname(tmp, DIR_SAVE);
|
||||||
debug(fname);
|
debug(fname);
|
||||||
|
|
||||||
|
if (are_labels())
|
||||||
|
{
|
||||||
|
|
||||||
fi = fopen(fname, "wb");
|
fi = fopen(fname, "wb");
|
||||||
|
|
||||||
if (!do_png_save(fi, fname, canvas))
|
if (!do_png_save(fi, fname, canvas))
|
||||||
|
|
@ -11883,7 +11883,7 @@ static int do_save(int tool, int dont_show_success_results)
|
||||||
free(fname);
|
free(fname);
|
||||||
|
|
||||||
/* saving information about text on label layer */
|
/* saving information about text on label layer */
|
||||||
if (are_labels)
|
if (are_labels())
|
||||||
{
|
{
|
||||||
snprintf(tmp, sizeof(tmp), "saved/.label/%s.dat", file_id);
|
snprintf(tmp, sizeof(tmp), "saved/.label/%s.dat", file_id);
|
||||||
fname = get_fname(tmp, DIR_SAVE);
|
fname = get_fname(tmp, DIR_SAVE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue