From 119e788a1597fcd7bd8082abeed912edbaaeadd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 16 Aug 2010 19:34:15 +0000 Subject: [PATCH] Corrected outdated comment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38155 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/GlyphLayoutEngine.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/servers/app/GlyphLayoutEngine.h b/src/servers/app/GlyphLayoutEngine.h index 899f3cfe0b..5290c9d971 100644 --- a/src/servers/app/GlyphLayoutEngine.h +++ b/src/servers/app/GlyphLayoutEngine.h @@ -301,9 +301,8 @@ GlyphLayoutEngine::LayoutGlyphs(GlyphConsumer& consumer, // 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); }