X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fplugins%2Fgraphic%2Fgraphic.C;h=ad2eae77d9dca3fc2d0c18390c559a5b3c513253;hb=b2eb290b3f6e5c233393017aa152e67c76243130;hp=f927679cd23673d6d79d102619f405a59d557a2e;hpb=a91176d7510310919776d0250d5708bb244d440b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/graphic/graphic.C b/cinelerra-5.1/plugins/graphic/graphic.C index f927679c..ad2eae77 100644 --- a/cinelerra-5.1/plugins/graphic/graphic.C +++ b/cinelerra-5.1/plugins/graphic/graphic.C @@ -1045,7 +1045,7 @@ GraphicEQ::~GraphicEQ() int GraphicEQ::is_realtime() { return 1; } -const char* GraphicEQ::plugin_title() { return _("EQ Graphic"); } +const char* GraphicEQ::plugin_title() { return N_("EQ Graphic"); } NEW_WINDOW_MACRO(GraphicEQ, GraphicGUI) @@ -1063,7 +1063,7 @@ void GraphicEQ::read_data(KeyFrame *keyframe) FileXML input; int result = 0; - input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data())); + input.set_shared_input(keyframe->xbuf); config.points.remove_all_objects(); while(!result) @@ -1101,7 +1101,7 @@ void GraphicEQ::read_data(KeyFrame *keyframe) void GraphicEQ::save_data(KeyFrame *keyframe) { FileXML output; - output.set_shared_output(keyframe->get_data(), MESSAGESIZE); + output.set_shared_output(keyframe->xbuf); output.tag.set_title("GRAPHICEQ"); output.tag.set_property("WINDOW_SIZE", config.window_size);