summaryrefslogtreecommitdiffstats
path: root/addon/configgen
diff options
context:
space:
mode:
Diffstat (limited to 'addon/configgen')
-rw-r--r--addon/configgen/configgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/configgen/configgen.cpp b/addon/configgen/configgen.cpp
index a94d852..c6aa0f2 100644
--- a/addon/configgen/configgen.cpp
+++ b/addon/configgen/configgen.cpp
@@ -713,7 +713,7 @@ int main(int argc,char * argv[])
while (!ctfile.atEnd())
{
int l=ctfile.readLine(buf,maxLineLen-1);
- if (buf[l-2]--'\r') // remove the \r for the folks using Windows
+ if (buf[l-2]=='\r') // remove the \r for the folks using Windows
{
buf[l-2]='\n';
buf[l-1]='\r';