diff options
Diffstat (limited to 'gnu/dist/groff/src/devices/grohtml/post-html.cpp')
| -rw-r--r-- | gnu/dist/groff/src/devices/grohtml/post-html.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/dist/groff/src/devices/grohtml/post-html.cpp b/gnu/dist/groff/src/devices/grohtml/post-html.cpp index fbb0e84cae3..c5b268a2f52 100644 --- a/gnu/dist/groff/src/devices/grohtml/post-html.cpp +++ b/gnu/dist/groff/src/devices/grohtml/post-html.cpp @@ -1,4 +1,4 @@ -/* $NetBSD: post-html.cpp,v 1.1.1.3 2006/02/06 18:14:50 wiz Exp $ */ +/* $NetBSD: post-html.cpp,v 1.2 2014/01/10 11:29:24 joerg Exp $ */ // -*- C++ -*- /* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 @@ -1589,7 +1589,7 @@ void header_desc::write_headings (FILE *f, int force) buffer += as_string(h); buffer += '\0'; - fprintf(f, buffer.contents()); + fprintf(f, "%s", buffer.contents()); } else fputs(g->text_string, f); h++; |
