vcl/source/gdi/CommonSalLayout.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fdbf404073bd4a59dc0378418cad297a547d5dd4
Author:     Khaled Hosny <kha...@libreoffice.org>
AuthorDate: Thu Nov 30 12:32:23 2023 +0200
Commit:     خالد حسني <kha...@libreoffice.org>
CommitDate: Thu Nov 30 13:18:02 2023 +0100

    vcl: Fix comment
    
    The comment is saying the opposite of what the code is doing.
    
    Change-Id: I16cc44b56f90f622cedb87b9107d17b940665896
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160144
    Tested-by: Jenkins
    Reviewed-by: خالد حسني <kha...@libreoffice.org>

diff --git a/vcl/source/gdi/CommonSalLayout.cxx 
b/vcl/source/gdi/CommonSalLayout.cxx
index da2c898c8b24..bcf6f54639e8 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -192,8 +192,8 @@ bool GenericSalLayout::HasVerticalAlternate(sal_UCS4 aChar, 
sal_UCS4 aVariationS
         hb_ot_layout_collect_lookups(pHbFace, HB_OT_TAG_GSUB, nullptr, 
nullptr, pFeatures, pLookups);
         if (!hb_set_is_empty(pLookups))
         {
-            // Find the output glyphs in each lookup (i.e. the glyphs that
-            // would result from applying this lookup).
+            // Find the input glyphs in each lookup (i.e. the glyphs that
+            // this lookup applies to).
             hb_codepoint_t nIdx = HB_SET_VALUE_INVALID;
             while (hb_set_next(pLookups, &nIdx))
             {

Reply via email to