summaryrefslogtreecommitdiffstats
path: root/src/moc/moc_yacc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/moc/moc_yacc.cpp')
-rw-r--r--src/moc/moc_yacc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp
index 13c38b654..3d6b8cfbe 100644
--- a/src/moc/moc_yacc.cpp
+++ b/src/moc/moc_yacc.cpp
@@ -5699,8 +5699,8 @@ void generateClass() // generate C++ source code for a class
fn = &g->fileName[i];
fprintf( out, hdr1, (const char*)qualifiedClassName(),(const char*)fn);
fprintf( out, hdr2, (const char*)dstr );
- fprintf( out, hdr3 );
- fprintf( out, hdr4 );
+ fprintf( out, "%s", hdr3 );
+ fprintf( out, "%s", hdr4 );
if ( !g->noInclude ) {
/*