summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.l b/src/config.l
index 810287e..fe32174 100644
--- a/src/config.l
+++ b/src/config.l
@@ -881,9 +881,10 @@ void Config::check()
if (p)
{
char c;
- while ((c=*p++))
+ while ((c=*p))
{
- if (c=='\\') c='/';
+ if (c=='\\') *p='/';
+ p++;
}
}
QCString path = sfp;