repair default keyframe load, tweak init default histogram threshold
[goodguy/history.git] / cinelerra-5.1 / cinelerra / presets.C.sav
index 9daecc457e29c8f5b16ebbf90cbb61c47e70bf02..d97dfb2b11a38f3af042dabd99601fbc8acf1172 100644 (file)
@@ -2,21 +2,21 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- * 
+ *
  */
 
 #include "bcsignals.h"
@@ -34,7 +34,7 @@
 
 #include <errno.h>
 #include <string.h>
+
 PresetsDB::PresetsDB()
 {
 }
@@ -285,12 +285,12 @@ void PresetsDBPlugin::load(FileXML *file)
                                data[len] = 0;
                                keyframe->set_data(data);
                                keyframes.append(keyframe);
-               
+
                        }
                }
        }while(!result);
 
-       
+
 }
 
 void PresetsDBPlugin::save(FileXML *file)
@@ -332,7 +332,7 @@ void PresetsDBPlugin::delete_keyframe(const char *title)
        for(int i = 0; i < keyframes.size(); i++)
        {
                PresetsDBKeyframe *keyframe = keyframes.get(i);
-               if(!strcasecmp(keyframe->title, title)) 
+               if(!strcasecmp(keyframe->title, title))
                {
                        keyframes.remove_object_number(i);
                        return;