Skip to content

Commit

Permalink
Use canonical path of font file.
Browse files Browse the repository at this point in the history
  • Loading branch information
acaudwell committed Nov 14, 2019
1 parent 0325587 commit 88ae9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gource_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ void GourceSettings::importGourceSettings(ConfFile& conffile, ConfSection* gourc
conffile.invalidValueException(entry);
}

font_file = boost::filesystem::absolute(font_file_path).string();
font_file = boost::filesystem::canonical(font_file_path).string();

if(font_file.empty()) {
conffile.invalidValueException(entry);
Expand Down

0 comments on commit 88ae9bd

Please sign in to comment.