]> git.lyx.org Git - lyx.git/commitdiff
Fixup b8cdfd1e1db: fix thinko
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Sep 2024 13:19:25 +0000 (15:19 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Sep 2024 13:19:25 +0000 (15:19 +0200)
Spotted by Coverity.

src/KeyMap.cpp

index f779cbbf4c6520f9b41d3c9ca22625697e463fa7..8e12624304b6a691c9270f88a873dbde30dba098 100644 (file)
@@ -495,7 +495,7 @@ docstring KeyMap::printBindings(FuncRequest const & func,
                if (!firstone)
                        res << ", ";
                res << key.print(format, untranslated);
-               firstone = true;
+               firstone = false;
        }
        return res.str();
 }