Small change to make a debug message from ilclient.cpp more

accurate, and only print it when compiled in debug mode (was
appearing when switching skins).
r=pnunn, a=brendan
This commit is contained in:
tor%cs.brown.edu 2000-09-19 21:54:29 +00:00
parent c3c301798c
commit 0d29237b07

View File

@ -716,12 +716,10 @@ il_removefromcache(il_container *ic)
PR_ASSERT(ic);
if (ic)
{
#ifdef PIN_CHROME
ILTRACE(2,("\nRemoving a chrome image from the image cache"));
#endif
if ( ic->moz_type == TYPE_CHROME )
printf( "Image type is chrome\n" );
if ( ic->moz_type == TYPE_CHROME )
ILTRACE(2,("\nRemoving a chrome image from the image cache"));
ILTRACE(2,("il: remove ic=0x%08x from cache\n", ic));
PR_ASSERT(ic->next || ic->prev || (il_cache.head == il_cache.tail));