Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 70f4d73f authored by BOUCHERIE Raphael's avatar BOUCHERIE Raphael
Browse files

changed writeheader, using a single fprintf

parent 38d4552b
No related branches found
No related tags found
1 merge request!4Treewalk
...@@ -30,8 +30,9 @@ char *color[4] = {"red", "blue", "green", "purple"}; ...@@ -30,8 +30,9 @@ char *color[4] = {"red", "blue", "green", "purple"};
void libhqr_writeheader(FILE *tree){ void libhqr_writeheader(FILE *tree){
if(fprintf(tree, "<?xml version=\"1.0\" standalone=\"no\"?>\n" if(fprintf(tree, "<?xml version=\"1.0\" standalone=\"no\"?>\n"
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \n \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n" "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \n \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n"
"<svg width=\"2000\" height=\"2000\" version=\"1.1\" \n xmlns=\"http://www.w3.org/2000/svg\">\n") <0) return; "<svg width=\"2000\" height=\"2000\" version=\"1.1\" \n xmlns=\"http://www.w3.org/2000/svg\">\n") <0)
return;
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment