From 45a27decf3fd3205e856d9b346f29060307dc6dc Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Mon, 4 Mar 2019 22:55:31 +0100 Subject: BLADERUNNER: Fixed overflow in savegame name --- engines/bladerunner/ui/kia_section_save.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bladerunner/ui') diff --git a/engines/bladerunner/ui/kia_section_save.cpp b/engines/bladerunner/ui/kia_section_save.cpp index 0dbd6033c1..f72254bafd 100644 --- a/engines/bladerunner/ui/kia_section_save.cpp +++ b/engines/bladerunner/ui/kia_section_save.cpp @@ -48,7 +48,7 @@ KIASectionSave::KIASectionSave(BladeRunnerEngine *vm) : KIASectionBase(vm) { _scrollBox = new UIScrollBox(_vm, scrollBoxCallback, this, 1024, 0, true, Common::Rect(155, 158, 461, 346), Common::Rect(506, 160, 506, 350)); _uiContainer->add(_scrollBox); - _inputBox = new UIInputBox(_vm, inputBoxCallback, this, Common::Rect(155, 367, 461, 376), 41, ""); + _inputBox = new UIInputBox(_vm, inputBoxCallback, this, Common::Rect(155, 367, 461, 376), SaveFileManager::kNameLength, ""); // original game had limit 41 characters _uiContainer->add(_inputBox); _inputBox->hide(); -- cgit v1.2.3