diff options
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l index 1bbe320..b158e5c 100644 --- a/src/config.l +++ b/src/config.l @@ -1198,6 +1198,12 @@ void Config::check() exit(1); } } + QCString &path = Config_getString("MATHJAX_RELPATH"); + if (!path.isEmpty() && path.at(path.length()-1)!='/') + { + path+="/"; + } + } // Test to see if LaTeX header is valid |