bunch-o compiler bitch'n
[goodguy/history.git] / cinelerra-5.1 / cinelerra / plugindialog.C
index b1091c8bc4d0b5df38190bcc36f825bd64a61d4f..172eaf91acb13b75e777a39d73baf7bdc3a732f9 100644 (file)
@@ -292,7 +292,7 @@ void PluginDialog::create_objects()
                char *plugin_title = plugin->title;
                char string[BCTEXTLEN];
 
-               sprintf(string, "%s: %s", track_title, _(plugin_title));
+               snprintf(string, sizeof(string), "%s: %s", track_title, _(plugin_title));
                shared_data.append(new BC_ListBoxItem(string));
        }
        for(int i = 0; i < module_locations.total; i++)