Scumm: Fix charset glitches in original Save-dialog
|Reported by:||SF/tobigun||Owned by:||Kirben|
The editing area of the original Save-dialog (Alt-F5) in the savegame name list is not drawn correctly. It reveals some graphical glitches which this patch fixes.
One reason for these bugs is the trimming of strings done in ScummEngine::drawString() which also trims spaces you enter when editing a savegame name.
Another cause is the buggy handling of empty strings ("") which are replaced by a string with one space (" "). Thats the reason why there is always shown a " " when you click on an empty slot.
This patch also works with the Grail Diary in Indy3 but I have not tested it with the MAC version.
Ticket imported from: #1687053. Ticket imported from: patches/730.