Original: static gint get_b_offset(gint b_t) { static gboolean inited=FALSE; static int boffset[B_COUNT]; if (!inited) { gint i,b=0; for (i=0;i