--- rox-filer-git-df7a6b65b.old/ROX-Filer/src/view_collection.c +++ rox-filer-git-df7a6b65b/ROX-Filer/src/view_collection.c @@ -360,9 +360,20 @@ //cairo_rectangle(scr, size / 2, size / 2, size / 2, size / 2); //cairo_fill(scr); cairo_set_line_width(scr, 0.4); - static const double center = size * 2/3; - static const double edge = size / 6; - static const double end = size; + + static double center = 0; + static double edge = 0; + static double end = 0; + static int cee_init = 0; + + if (cee_init == 0) + { + cee_init = 1; + center = size * 2/3; + edge = size / 6; + end = size; + } + cairo_move_to(scr, center, center); cairo_line_to(scr, 0 , edge ); cairo_move_to(scr, center, center);