add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bctoggle.C
index 01832bd47d5a4ee37f2ce527ada1c1530dca175d..fdc963b6c69997e6d5223b31195a61adb24cf541 100644 (file)
@@ -90,7 +90,7 @@ void BC_Toggle::calculate_extents(BC_WindowBase *gui,
        *h = frame->get_h();
        *toggle_x = 0;
        *toggle_y = 0;
-       *text_x = *w + 5;
+       *text_x = *w + xS(5);
        *text_y = 0;
        *text_w = 0;
        *text_h = 0;