Fixed formatting in previous committ

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38431 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Paul Landers 2015-03-23 22:09:14 +00:00
parent fa2a23ea28
commit 76d6fd866f

View file

@ -166,7 +166,7 @@ static inline void lock_entry(unsigned int entry)
if (printing || numLockedCacheEntries > 1) if (printing || numLockedCacheEntries > 1)
{ {
printf("Locked Entries: %d\n", numLockedCacheEntries); printf("Locked Entries: %d\n", numLockedCacheEntries);
printing = numLockedCacheEntries > 1; printing = numLockedCacheEntries > 1;
} }
#endif #endif
} }
@ -174,7 +174,7 @@ static inline void lock_entry(unsigned int entry)
static inline void unlock_top_entry() static inline void unlock_top_entry()
{ {
if ( numLockedCacheEntries ) if ( numLockedCacheEntries )
numLockedCacheEntries--; numLockedCacheEntries--;
} }
static inline void cache_lock() static inline void cache_lock()
@ -245,7 +245,7 @@ static int cache_match(int hasSize, NSSize size, int useScreenFonts, int *matche
c = cache + j; c = cache + j;
if (least_used == -1 || c->used < least_used) if (least_used == -1 || c->used < least_used)
{ {
// Avoid replacing the very last one in case of recursion... // Avoid replacing items that are currently being modified by other stack frames...
if (!is_entry_locked(j)) if (!is_entry_locked(j))
{ {
least_used = c->used; least_used = c->used;