Made the external wav-file editor get the filename wrapped in "".
authorterminatorX <>
Thu, 31 Aug 2000 09:09:06 +0000 (09:09 +0000)
committerterminatorX <>
Thu, 31 Aug 2000 09:09:06 +0000 (09:09 +0000)
This suggestion came from Josh Steiner joschi@eds.org - Alex

src/tX_vttgui.cc

index a7d572938b73d32a11245eae01132bd5cd6c823a..fcb655cc6a5f4945923aed21078e260892858fd7 100644 (file)
@@ -266,7 +266,7 @@ GtkSignalFunc edit_vtt_buffer(GtkWidget *wid, vtt_class *vtt)
        else
        if (strlen(globals.file_editor)>0)
        {
-               sprintf(command, "%s %s &", globals.file_editor, vtt->filename);
+               sprintf(command, "%s \"%s\" &", globals.file_editor, vtt->filename);
                system(command); /*) tx_note("Failed to run the soundfile editor."); */
        }
        else