projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add LastFrame plugin, add bld_scripts
[goodguy/history.git]
/
cinelerra-5.0
/
guicast
/
bcpixmap.C
diff --git
a/cinelerra-5.0/guicast/bcpixmap.C
b/cinelerra-5.0/guicast/bcpixmap.C
index b9ed221f2efa86a807c0c4e50b34827f65eb57c8..838330e14be2f509f553f309ff09ae454040a632 100644
(file)
--- a/
cinelerra-5.0/guicast/bcpixmap.C
+++ b/
cinelerra-5.0/guicast/bcpixmap.C
@@
-169,6
+169,8
@@
void BC_Pixmap::reset()
int BC_Pixmap::initialize(BC_WindowBase *parent_window, int w, int h, int mode)
{
+ if( w < 1 ) w = 1;
+ if( h < 1 ) h = 1;
this->w = w;
this->h = h;
this->parent_window = parent_window;