diff options
author | albert-github <albert.tests@gmail.com> | 2015-08-16 15:44:20 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-08-16 15:44:20 (GMT) |
commit | 9947c11284542a74c56e52b55be032350c6bbc3e (patch) | |
tree | 8d725f1d410af54c9df046363e5e00302c8d338f | |
parent | 625e7a17bc708a32d52158ac24e7308c9d62fe84 (diff) | |
download | Doxygen-9947c11284542a74c56e52b55be032350c6bbc3e.zip Doxygen-9947c11284542a74c56e52b55be032350c6bbc3e.tar.gz Doxygen-9947c11284542a74c56e52b55be032350c6bbc3e.tar.bz2 |
Correcting print format error in config.l
This patch corrects a format error in config.l, and a spelling error in comment.
-rw-r--r-- | src/config.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.l b/src/config.l index 1bbe320..2cdb123 100644 --- a/src/config.l +++ b/src/config.l @@ -242,7 +242,7 @@ QStrList &Config::getList(const char *fileName,int num,const char *name) const } else if (opt->kind()!=ConfigOption::O_List) { - config_err("%d<%d>: Internal error: Requested option %s not of list type!\n",fileName,num,name); + config_err("%s<%d>: Internal error: Requested option %s not of list type!\n",fileName,num,name); exit(1); } return *((ConfigList *)opt)->valueRef(); @@ -1077,7 +1077,7 @@ void Config::checkFileName(const char *optionName) (val=="no" || val=="false" || val=="0" || val=="none")) { config_err("file name expected for option %s, got %s instead. Ignoring...\n",optionName,s.data()); - s=""; // note tihe use of &s above: this will change the option value! + s=""; // note the use of &s above: this will change the option value! } } |