load files search box, avoid segv in get_prev_keyframe, fix titles only handles,...
[goodguy/history.git] / cinelerra-5.1 / plugins / piano / piano.C
index a1fa01ea3be51274f03b0fa58331331df6fe94e8..92090d3245d4f3402e6a53d1e8fbae0704398197 100644 (file)
@@ -51,7 +51,7 @@ Piano::~Piano()
 }
 
 
-char* Piano::plugin_title() { return _("Pianoesizer"); }
+char* Piano::plugin_title() { return N_("Pianoesizer"); }
 int Piano::is_realtime() { return 1; }
 int Piano::is_synthesis() { return 1; }
 
@@ -214,7 +214,7 @@ double Piano::solve_eqn(double *output,
        if(config->level <= INFINITYGAIN) return 0;
 
        double result;
-       register double x;
+       double x;
        double power = this->db.fromdb(config->level) * normalize_constant;
        double phase_offset = config->phase * this->period;
        double x3 = x1 + phase_offset;