projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add new av-opts files from andrew, fix copy/paste segv for clip folder, fix deinterla...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
clippopup.C
diff --git
a/cinelerra-5.1/cinelerra/clippopup.C
b/cinelerra-5.1/cinelerra/clippopup.C
index ab7efaf5b7c4a11c91ff08fdbc9c826e292a2bb1..ddcee5d9543cda1be3a489212b72484bd211c3f9 100644
(file)
--- a/
cinelerra-5.1/cinelerra/clippopup.C
+++ b/
cinelerra-5.1/cinelerra/clippopup.C
@@
-379,7
+379,7
@@
int ClipPasteToFolder::handle_event()
}
else {
char *cp = strchr(string, '\n');
- if( cp-string < 32 ) *cp = 0;
+ if( cp
&& cp
-string < 32 ) *cp = 0;
else if( len > 32 ) string[32] = 0;
eprintf("paste buffer is not EDL:\n%s", string);
}