Skip to content

Commit

Permalink
Merge pull request xournalpp#1200 from andreasb242/master
Browse files Browse the repository at this point in the history
Fixed Build
  • Loading branch information
andreasb242 authored Jun 3, 2019
2 parents 21075dc + d83b0b1 commit dbefdcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/control/Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void Control::renameLastAutosaveFile()
renamed += filename.getFilename();
}

g_message(FS(_F("Autosave renamed from {1} to {2}") % this->lastAutosaveFilename.str() % renamed.str()).c_str());
g_message("%s", FS(_F("Autosave renamed from {1} to {2}") % this->lastAutosaveFilename.str() % renamed.str()).c_str());

if (!filename.exists())
{
Expand Down
2 changes: 1 addition & 1 deletion src/control/jobs/AutosaveJob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void AutosaveJob::run()

control->renameLastAutosaveFile();

g_message(FS(_F("Autosaving to {1}") % filename.str()).c_str());
g_message("%s", FS(_F("Autosaving to {1}") % filename.str()).c_str());

handler.saveTo(filename);

Expand Down

0 comments on commit dbefdcc

Please sign in to comment.