bunch of small fixes, add msg.txt to about prefs
[goodguy/history.git] / cinelerra-5.0 / guicast / bcpixmap.C
index b9ed221f2efa86a807c0c4e50b34827f65eb57c8..838330e14be2f509f553f309ff09ae454040a632 100644 (file)
@@ -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;