[LyX/master] Fixup b8cdfd1e1db: fix thinko
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Sep 9 13:22:18 UTC 2024
commit 12d771c43fc121c89e6df5ae1e0b6aedc11d799e
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Mon Sep 9 15:19:25 2024 +0200
Fixup b8cdfd1e1db: fix thinko
Spotted by Coverity.
---
src/KeyMap.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/KeyMap.cpp b/src/KeyMap.cpp
index f779cbbf4c..8e12624304 100644
--- a/src/KeyMap.cpp
+++ b/src/KeyMap.cpp
@@ -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();
}
More information about the lyx-cvs
mailing list