diff --git a/dmd/func.c b/dmd/func.c index e97a1bd4..6b569beb 100644 --- a/dmd/func.c +++ b/dmd/func.c @@ -1,5 +1,5 @@ // Compiler implementation of the D programming language -// Copyright (c) 1999-2010 by Digital Mars +// Copyright (c) 1999-2011 by Digital Mars // All Rights Reserved // written by Walter Bright // http://www.digitalmars.com @@ -3066,7 +3066,8 @@ int StaticCtorDeclaration::addPostInvariant() void StaticCtorDeclaration::toCBuffer(OutBuffer *buf, HdrGenState *hgs) { if (hgs->hdrgen) - { buf->writestring("static this();\n"); + { buf->writestring("static this();"); + buf->writenl(); return; } buf->writestring("static this()");