mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 17:59:03 +00:00
Fixed: Compilation with GCC
This commit is contained in:
parent
47ad60586e
commit
e459f0e0e6
1 changed files with 3 additions and 3 deletions
|
@ -280,7 +280,7 @@ public:
|
||||||
{
|
{
|
||||||
throw Exception("Could not open html: %s", filename.c_str());
|
throw Exception("Could not open html: %s", filename.c_str());
|
||||||
}
|
}
|
||||||
fprintf( _File, ("<html><head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n<title>" + title + "</title>\n</head><body>\n").c_str() );
|
fprintf( _File, "<html><head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n<title>%s</title>\n</head><body>\n", title.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
@ -289,7 +289,7 @@ public:
|
||||||
if ( ! _Enabled )
|
if ( ! _Enabled )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
fprintf( _File, htmlCode.c_str() );
|
fprintf( _File, "%s", htmlCode.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue