[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/kconfig_compiler
From:       Pino Toscano <pino () kde ! org>
Date:       2009-07-08 19:56:19
Message-ID: 1247082979.961569.14537.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 993506 by pino:

remove extra endl at the end of debug lines in generated code


 M  +2 -2      kconfig_compiler.cpp  


--- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp #993505:993506
@@ -1096,7 +1096,7 @@
       out << "{" << endl;
       out << "  kDebug() << \"" << setFunction(n);
       out << ": value \" << v << \" is less than the minimum value of ";
-      out << e->minValue()<< "\" << endl;" << endl;
+      out << e->minValue()<< "\";" << endl;
       out << "  v = " << e->minValue() << ";" << endl;
       out << "}" << endl;
     }
@@ -1108,7 +1108,7 @@
     out << "{" << endl;
     out << "  kDebug() << \"" << setFunction(n);
     out << ": value \" << v << \" is greater than the maximum value of ";
-    out << e->maxValue()<< "\" << endl;" << endl;
+    out << e->maxValue()<< "\";" << endl;
     out << "  v = " << e->maxValue() << ";" << endl;
     out << "}" << endl << endl;
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic