0
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-07-25 23:04:26 -04:00

Reformat color.c

This commit is contained in:
Michael Vetter 2019-08-23 13:48:42 +02:00
parent 8a04496c79
commit df1b19ecec

View File

@ -398,9 +398,11 @@ int color_pair_cache_get(const char *pair_name)
} }
/* try to find pair in cache */ /* try to find pair in cache */
for (i = 0; i < cache.size; i++) for (i = 0; i < cache.size; i++) {
if (fg == cache.pairs[i].fg && bg == cache.pairs[i].bg) if (fg == cache.pairs[i].fg && bg == cache.pairs[i].bg) {
return i; return i;
}
}
/* otherwise cache new pair */ /* otherwise cache new pair */