diff options
-rw-r--r-- | src/graphics_cs_svg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics_cs_svg.c b/src/graphics_cs_svg.c index 9321dc1..210a1cf 100644 --- a/src/graphics_cs_svg.c +++ b/src/graphics_cs_svg.c @@ -215,7 +215,7 @@ void flipscreen() { fprintf(stderr,"# flipping screen!\n"); // strcat(svg_global.backbuffer,"</svg>\n</xml>\n"); strcat(svg_global.backbuffer,"</svg></body></html>\n"); - int fd=open(svg_global.filename,O_TRUNC|O_WRONLY|O_CREAT); + int fd=open(svg_global.filename,O_TRUNC|O_WRONLY|O_CREAT,0644); write(fd,svg_global.backbuffer,strlen(svg_global.backbuffer)); close(fd); } |