1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-12-27 21:35:41 +00:00

I missed this in a previous commit - take the setting from the SettingsBag.

This commit is contained in:
King_DuckZ 2017-04-25 00:10:50 +01:00
parent 3e60ea4183
commit 9232644cbb

View file

@ -66,7 +66,7 @@ namespace tawashi {
}
else {
srchilite::SourceHighlight highlighter;
highlighter.setDataDir("/usr/share/source-highlight");
highlighter.setDataDir(settings().as<std::string>("langmap_dir"));
highlighter.setGenerateEntireDoc(false);
highlighter.setGenerateLineNumbers(true);
const auto lang = m_lang_file;