From 898c87ebe1cd4128748b39531f331ba3d6f61f2f Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 23 Sep 2012 20:26:26 +0200 Subject: [PATCH] Fixed: Compilation with GCC --- code/ryzom/tools/leveldesign/mp_generator/utils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ryzom/tools/leveldesign/mp_generator/utils.h b/code/ryzom/tools/leveldesign/mp_generator/utils.h index 6804a5bc7..63148f61f 100644 --- a/code/ryzom/tools/leveldesign/mp_generator/utils.h +++ b/code/ryzom/tools/leveldesign/mp_generator/utils.h @@ -245,7 +245,7 @@ public: } private: - + CLookup _Indices [NC]; CItems _Items; @@ -280,7 +280,7 @@ public: { throw Exception("Could not open html: %s", filename.c_str()); } - fprintf( _File, ("\n\n" + title + "\n\n").c_str() ); + fprintf( _File, "\n\n%s\n\n", title.c_str() ); } /// @@ -289,7 +289,7 @@ public: if ( ! _Enabled ) return; - fprintf( _File, htmlCode.c_str() ); + fprintf( _File, "%s", htmlCode.c_str() ); } ///