bunch-o compiler bitch'n
[goodguy/history.git] / cinelerra-5.1 / plugins / svg / svgwin.C
index 3269c61f173d124e679609aa495cb9bf45853ef1..9931a8ddc218c5fa3f86f05b3a6d0401ce9c1b04 100644 (file)
@@ -358,7 +358,8 @@ void SvgInkscapeThread::run()
 {
 // Runs the inkscape
        char command[1024];
-       sprintf(command, "inkscape --with-gui %s", edit->client->config.svg_file);
+       snprintf(command, sizeof(command),
+               "inkscape --with-gui %s", edit->client->config.svg_file);
        printf(_("Running external SVG editor: %s\n"), command);
 
        enable_cancel();