[Scummvm-git-logs] scummvm master -> b125830b85804b65d9227ecddfbfeab65f351848

sev- noreply at scummvm.org
Fri Jan 2 20:25:06 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:
b125830b85 GUI: Gracefully exit when saves have bad format


Commit: b125830b85804b65d9227ecddfbfeab65f351848
    https://github.com/scummvm/scummvm/commit/b125830b85804b65d9227ecddfbfeab65f351848
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-01-02T21:24:58+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