projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
trackcanvas.C
diff --git
a/cinelerra-5.1/cinelerra/trackcanvas.C
b/cinelerra-5.1/cinelerra/trackcanvas.C
index d39ce4554757009a84897e7828a093c4415e1588..4d3b06373a0dfc06ed7fd84741c6a34720e5265e 100644
(file)
--- a/
cinelerra-5.1/cinelerra/trackcanvas.C
+++ b/
cinelerra-5.1/cinelerra/trackcanvas.C
@@
-2,6
+2,7
@@
/*
* CINELERRA
* Copyright (C) 1997-2014 Adam Williams <broadcast at earthling dot net>
/*
* CINELERRA
* Copyright (C) 1997-2014 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
*
* 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
@@
-1482,7
+1483,9
@@
void TrackCanvas::draw_resources(int mode,
if(MWindowGUI::visible(edit_x, edit_x + edit_w, 0, get_w()) &&
MWindowGUI::visible(edit_y, edit_y + edit_h, 0, get_h()))
{
if(MWindowGUI::visible(edit_x, edit_x + edit_w, 0, get_w()) &&
MWindowGUI::visible(edit_y, edit_y + edit_h, 0, get_h()))
{
- int64_t pixmap_x, pixmap_w, pixmap_h;
+ int64_t pixmap_x=0;
+ int64_t pixmap_w=0;
+ int64_t pixmap_h=0;
if(debug) PRINT_TRACE
// Search for existing pixmap containing edit
if(debug) PRINT_TRACE
// Search for existing pixmap containing edit