Adding newline to version.gen.
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 19 Oct 2008 19:55:24 +0000 (21:55 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 19 Oct 2008 19:55:24 +0000 (21:55 +0200)
I have no idea why this doesn't trigger a compiler warning for me, but apparently
it has suddenly started triggering a warning for others, so it's fixed now.

src/common/genversion.cpp

index 3a552f3..13100b6 100644 (file)
@@ -106,7 +106,7 @@ int main(int argc, char **argv) {
     qFatal("%s", qPrintable(QString("Could not write %1!").arg(target)));
     return EXIT_FAILURE;
   }
-  gen.write(QString("QString buildinfo = \"%1,%2,%3,%4,%5,%6,%7,%8\";")
+  gen.write(QString("QString buildinfo = \"%1,%2,%3,%4,%5,%6,%7,%8\";\n")
            .arg(basever, descrver, dirty, committish, commitdate, protover, clientneeds, coreneeds).toAscii());
   gen.close();
   return EXIT_SUCCESS;