desktop/source/lib/init.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 2654a29a359e50029965054d187de550a795fb69
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Aug 25 13:27:32 2022 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Aug 25 13:39:56 2022 +0200

    Fix thinko
    
    Change-Id: I0cfd501189275ad5558e6ceeb0fb479b4d2e5835
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138804
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index a987ad548d64..be7bcd9b0b0f 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3853,7 +3853,9 @@ static void doc_registerCallback(LibreOfficeKitDocument* 
pThis,
             bool bFirst = true;
             for (const auto &f : pDocument->maFontsMissing)
             {
-                if (!bFirst)
+                if (bFirst)
+                    bFirst = false;
+                else
                     sPayload += ", ";
                 sPayload += "\"" + std::string(f.toUtf8().getStr()) + "\"";
             }

Reply via email to