/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* 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
{
if( do_name ) {
memset(name, 0, sizeof(name));
- strncpy(name, ptr.name, sizeof(name-1));
+ strncpy(name, ptr.name, sizeof(name)-1);
}
fader = ptr.fader;
feather = ptr.feather;