[Scummvm-git-logs] scummvm branch-3-0 -> aa5998080082f7228c7295809eb76be594415571
sev-
noreply at scummvm.org
Fri Jan 2 20:24:30 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
aa59980800 GUI: Gracefully exit when saves have bad format
Commit: aa5998080082f7228c7295809eb76be594415571
https://github.com/scummvm/scummvm/commit/aa5998080082f7228c7295809eb76be594415571
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-01-02T21:24:24+01:00
Commit Message:
GUI: Gracefully exit when saves have bad format
Patches the bug #16432, but not really fixes it, as the save is broken
Changed paths:
gui/widgets/list.cpp
diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp
index 7c9dfa4e280..246b64af5f9 100644
--- a/gui/widgets/list.cpp
+++ b/gui/widgets/list.cpp
@@ -879,7 +879,8 @@ Common::U32String ListWidget::stripGUIformatting(const Common::U32String &str) {
break;
default:
- error("Wrong string format (%c)", *s);
+ warning("Wrong string format (%c)", *s ? *s : '?');
+ break;
}
}
@@ -953,7 +954,8 @@ void ListWidget::drawFormattedText(const Common::Rect &r, const Common::U32Strin
break;
default:
- error("ListWidget::drawFormattedText(): Wrong string format (\\001%c)", *s);
+ warning("ListWidget::drawFormattedText(): Wrong string format (\\001%c)", *s ? *s : '?');
+ break;
}
}
More information about the Scummvm-git-logs
mailing list