mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 05:01:00 +00:00
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:
parent
fa2a23ea28
commit
76d6fd866f
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue