From e1f55871fa67b5d88330a45b4b7d06ac492f0266 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 4 Sep 2020 13:33:43 +0200 Subject: Readability of warning message A warning like: ``` warning: source examples is not a readable file or directory... skipping. ``` is hard to understand, would be better to have: ``` warning: source 'examples' is not a readable file or directory... skipping. ``` --- src/doxygen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doxygen.cpp b/src/doxygen.cpp index d551292..b218d38 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -9473,7 +9473,7 @@ static int readDir(QFileInfo *fi, { if (errorIfNotExist) { - warn_uncond("source %s is not a readable file or directory... skipping.\n",cfi->absFilePath().data()); + warn_uncond("source '%s' is not a readable file or directory... skipping.\n",cfi->absFilePath().data()); } } else if (cfi->isFile() && @@ -9553,7 +9553,7 @@ int readFileOrDirectory(const char *s, { if (errorIfNotExist) { - warn_uncond("source %s is not a readable file or directory... skipping.\n",s); + warn_uncond("source '%s' is not a readable file or directory... skipping.\n",s); } } else if (!Config_getBool(EXCLUDE_SYMLINKS) || !fi.isSymLink()) -- cgit v0.12