- if (_allocated) {
- CacheItem *item = _cache[_screen][color];
- assert(item); // better be...
-
- if (--item->count <= 0) {
- // remove from the cache
- XFreeGC(**display, _gc);
- _cache[_screen][color] = 0;
- delete item;
+ CacheItem *item = _cache[_screen][color];
+ assert(item); // better be...
+
+ if (--item->count <= 0) {
+ // remove from the cache
+ XFreeGC(**display, _gc);
+ _cache[_screen][color] = 0;
+ delete item;