rest of Termux related mods from Andrew
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bcresources.C
index 1d52855990ee9e7e5a10eb32f518e446e98d3087..cdac6305f8b4d62de4dd807808e5b73c43dff018 100644 (file)
@@ -785,6 +785,7 @@ new_vframes(10,default_vscroll_data,
        button_uphighlighted = RED;   // upper side when highlighted
 
        tumble_data = 0;
+       tumblepatch_data = 0;
        tumble_duration = 150;
 
        ok_images = default_ok_images;
@@ -856,14 +857,14 @@ new_vframes(10,default_vscroll_data,
        filebox_columntype[1] = FILEBOX_SIZE;
        filebox_columntype[2] = FILEBOX_DATE;
        filebox_columntype[3] = FILEBOX_EXTENSION;
-       filebox_columnwidth[0] = xS(200);
+       filebox_columnwidth[0] = xS(300);
        filebox_columnwidth[1] = xS(100);
-       filebox_columnwidth[2] = xS(100);
-       filebox_columnwidth[3] = xS(100);
+       filebox_columnwidth[2] = xS(150);
+       filebox_columnwidth[3] = xS(49);
        dirbox_columntype[0] = FILEBOX_NAME;
        dirbox_columntype[1] = FILEBOX_DATE;
-       dirbox_columnwidth[0] = xS(200);
-       dirbox_columnwidth[1] = xS(100);
+       dirbox_columnwidth[0] = xS(400);
+       dirbox_columnwidth[1] = xS(199);
 
        filebox_text_images = default_filebox_text_images;
        filebox_icons_images = default_filebox_icons_images;
@@ -1856,7 +1857,7 @@ void BC_Resources::encode_to_utf8(char *buffer, int buflen)
 {
         if(BC_Resources::locale_utf8) return;
        char lbuf[buflen];
-       encode(encoding, 0, buffer, buflen, lbuf, buflen);
+       encode(encoding, 0, buffer, -1, lbuf, buflen);
        strcpy(buffer, lbuf);
 }