Smal bugfix of the previous changeset.
This commit is contained in:
@@ -1363,7 +1363,7 @@ bool Thumbnail::writeData (const Glib::ustring& fname) {
|
||||
FILE *f = safe_g_fopen (fname, "wt");
|
||||
if (!f) {
|
||||
if (options.rtSettings.verbose)
|
||||
printf("Thumbnail::writeData / Error: unable to open file \"\" with write access!\n", fname.c_str());
|
||||
printf("Thumbnail::writeData / Error: unable to open file \"%s\" with write access!\n", fname.c_str());
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
|
@@ -170,7 +170,7 @@ int CacheImageData::save (const Glib::ustring& fname) {
|
||||
FILE *f = safe_g_fopen (fname, "wt");
|
||||
if (!f) {
|
||||
if (options.rtSettings.verbose)
|
||||
printf("CacheImageData::save / Error: unable to open file \"\" with write access!\n", fname.c_str());
|
||||
printf("CacheImageData::save / Error: unable to open file \"%s\" with write access!\n", fname.c_str());
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
|
@@ -1029,7 +1029,7 @@ int Options::saveToFile (Glib::ustring fname) {
|
||||
FILE *f = safe_g_fopen (fname, "wt");
|
||||
if (f==NULL) {
|
||||
if (options.rtSettings.verbose)
|
||||
printf("Options::saveToFile / Error: unable to open file \"\" with write access!\n", fname.c_str());
|
||||
printf("Options::saveToFile / Error: unable to open file \"%s\" with write access!\n", fname.c_str());
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user