[haiku-commits] r38155 - haiku/trunk/src/servers/app

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 16 Aug 2010 21:34:15 +0200 (CEST)

Author: stippi
Date: 2010-08-16 21:34:15 +0200 (Mon, 16 Aug 2010)
New Revision: 38155
Changeset: http://dev.haiku-os.org/changeset/38155

Modified:
   haiku/trunk/src/servers/app/GlyphLayoutEngine.h
Log:
Corrected outdated comment.


Modified: haiku/trunk/src/servers/app/GlyphLayoutEngine.h
===================================================================
--- haiku/trunk/src/servers/app/GlyphLayoutEngine.h     2010-08-16 19:24:20 UTC 
(rev 38154)
+++ haiku/trunk/src/servers/app/GlyphLayoutEngine.h     2010-08-16 19:34:15 UTC 
(rev 38155)
@@ -301,9 +301,8 @@
                // The caller passed a FontCacheReference, but this is the first
                // iteration -> switch the ownership from the stack allocated
                // FontCacheReference to the one passed by the caller. The 
fallback
-               // FontCacheReference is not affected by this. Eventually, the 
fallback
-               // glyphs shall be cached in the original FontCacheEntry, so 
that it is
-               // not even used in this situation.
+               // FontCacheReference is not affected by this, since it is 
never used
+               // during a second iteration.
                _cacheReference->SetTo(entry, cacheReference.WriteLocked());
                cacheReference.SetTo(NULL, false);
        }


Other related posts:

  • » [haiku-commits] r38155 - haiku/trunk/src/servers/app - superstippi