[LyX/2.4.x] Do not forget to reset stream after std::hex
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Tue Sep 10 09:59:40 UTC 2024
commit 615f03585431adafa49a3110842dacca1435bed6
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Mon Sep 9 17:49:20 2024 +0200
Do not forget to reset stream after std::hex
Spotted by Coverity scan.
(cherry picked from commit f4c02d670b60a56bc6fb4a49e201c7134af1011b)
---
src/frontends/qt/GuiWorkArea.cpp | 2 +-
status.24x | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/frontends/qt/GuiWorkArea.cpp b/src/frontends/qt/GuiWorkArea.cpp
index 558ab2311c..7c1832b6e9 100644
--- a/src/frontends/qt/GuiWorkArea.cpp
+++ b/src/frontends/qt/GuiWorkArea.cpp
@@ -1514,7 +1514,7 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e)
QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const
{
- LYXERR(Debug::INFO, "incoming InputMethodQuery Value: 0x" << std::hex << query);
+ LYXERR(Debug::INFO, "incoming InputMethodQuery Value: 0x" << std::hex << query << std::dec);
switch (query) {
// this is the CJK-specific composition window position and
// the context menu position when the menu key is pressed.
diff --git a/status.24x b/status.24x
index 6ac251091d..b9f827e8d2 100644
--- a/status.24x
+++ b/status.24x
@@ -139,6 +139,8 @@ What's new
- Fix a Python script, used to preview math expressions, that used a
module that is removed in Python 3.13.
+- Fix case where debug information may report all numbers as hexadecimal.
+
* DOCUMENTATION AND LOCALIZATION
More information about the lyx-cvs
mailing list