Home | History | Annotate | Download | only in minui

Lines Matching full:loc

182 static int matches_locale(const char* loc) {
185 if (strcmp(loc, locale) == 0) return 1;
187 // if loc does *not* have an underscore, and it matches the start
189 // that's a match. For instance, loc == "en" matches locale ==
193 for (i = 0; loc[i] != 0 && loc[i] != '_'; ++i);
194 if (loc[i] == '_') return 0;
196 return (strncmp(locale, loc, i) == 0 && locale[i] == '_');
270 char* loc = row+5;
272 if (y+1+h >= height || matches_locale(loc)) {
273 printf(" %20s: %s (%d x %d @ %d)\n", name, loc, w, h, y);