foxygit / doom Log in
commit c5af517b3b1a80bb00f477008308cd2472f228cb
Merge: 025e4389 e392bd16
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Mon Jan 30 22:53:36 2017 -0500
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Mon Jan 30 22:53:36 2017 -0500

    Merge remote-tracking branch 'origin/master' into sdl2-branch

 configure.ac  |  2 +-
 man/docgen    | 25 ++++++++++++++++++++-----
 man/simplecpp |  3 ++-
 3 files changed, 23 insertions(+), 7 deletions(-)

diff --cc man/docgen
index 750e4cd0,2b6044d8..0223370d
--- a/man/docgen
+++ b/man/docgen
@@@ -424,8 -441,11 +439,8 @@@ def print_template(template_file, conte
                  print_template(filename, content)
              else:
                  line = line.replace("@content", content)
-                 print(line.rstrip())
+                 stdout(line.rstrip().encode('UTF-8') + b'\n')

 -    finally:
 -        f.close()
 -
  def manpage_output(targets, template_file):

      content = ""