projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
booby fixes, seltemp radio btn offset fix, ffmpeg options layout tweak, change extens...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
canvas.C
diff --git
a/cinelerra-5.1/cinelerra/canvas.C
b/cinelerra-5.1/cinelerra/canvas.C
index be0a2af0923dc32f2352ac433fb59732c6c5d5a0..125472aeec3b643daf2465b62497538326ab3e27 100644
(file)
--- a/
cinelerra-5.1/cinelerra/canvas.C
+++ b/
cinelerra-5.1/cinelerra/canvas.C
@@
-36,20
+36,15
@@
-Canvas::Canvas(MWindow *mwindow,
- BC_WindowBase *subwindow,
- int x,
- int y,
- int w,
- int h,
- int output_w,
- int output_h,
+Canvas::Canvas(MWindow *mwindow, BC_WindowBase *subwindow,
+ int x, int y, int w, int h, int output_w, int output_h,
int use_scrollbars)
{
reset();
int use_scrollbars)
{
reset();
- if(w < 10) w = 10;
- if(h < 10) h = 10;
+ int xs10 = xS(10), ys10 = yS(10);
+ if(w < xs10) w = xs10;
+ if(h < ys10) h = ys10;
this->mwindow = mwindow;
this->subwindow = subwindow;
this->x = x;
this->mwindow = mwindow;
this->subwindow = subwindow;
this->x = x;