[Scummvm-git-logs] scummvm branch-2-5 -> 5aca38a8ebfa1eb966c4d44ebb49d25e8e038b35
eriktorbjorn
noreply at scummvm.org
Fri Dec 17 14:05:51 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5aca38a8eb SHERLOCK: Fix Rose Tattoo save dialog regression
Commit: 5aca38a8ebfa1eb966c4d44ebb49d25e8e038b35
https://github.com/scummvm/scummvm/commit/5aca38a8ebfa1eb966c4d44ebb49d25e8e038b35
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-17T15:05:46+01:00
Commit Message:
SHERLOCK: Fix Rose Tattoo save dialog regression
Now that more than one keypress can be processed, we have to update the
"current character" variables each time.
Changed paths:
engines/sherlock/tattoo/widget_files.cpp
diff --git a/engines/sherlock/tattoo/widget_files.cpp b/engines/sherlock/tattoo/widget_files.cpp
index 4499ff80ac..32a936944f 100644
--- a/engines/sherlock/tattoo/widget_files.cpp
+++ b/engines/sherlock/tattoo/widget_files.cpp
@@ -397,6 +397,10 @@ bool WidgetFiles::getFilename() {
++index;
}
}
+
+ currentChar = (index == (int)filename.size()) ? ' ' : filename[index];
+ charString = Common::String::format("%c", currentChar);
+ width = screen.charWidth(currentChar);
}
} while (!done && !_vm->shouldQuit());
More information about the Scummvm-git-logs
mailing list