diff options
author | lolbot-iichan | 2019-06-29 16:58:45 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-07-16 20:24:42 +0300 |
commit | ed635a5b01f62497ecf064a330c93b478ea9dea1 (patch) | |
tree | 99e352e0d2f9bd51cb168368a77edad2c246c8db /engines/kyra/sound/drivers/audstream.cpp | |
parent | 614dfdfbe353f07dcfe0b21a21e4f4bae702d83d (diff) | |
download | scummvm-rg350-ed635a5b01f62497ecf064a330c93b478ea9dea1.tar.gz scummvm-rg350-ed635a5b01f62497ecf064a330c93b478ea9dea1.tar.bz2 scummvm-rg350-ed635a5b01f62497ecf064a330c93b478ea9dea1.zip |
WINTERMUTE: Fix File.WriteText method
Removed unnecessary '\0' byte written after a string. Reasons to remove:
1. Hamlet game does not write 0 after string when running this code:
var SomeFile = new File((Game.SaveDirectory + "\gamelet.save"));
SomeFile.OpenAsText(2);
SomeFile.WriteText(LVL_N);
SomeFile.Close();
2. Original WME does not have this:
https://github.com/retrowork/Wintermute-Engine/blob/master/src/engine_core/wme_base/SXFile.cpp#L303
Diffstat (limited to 'engines/kyra/sound/drivers/audstream.cpp')
0 files changed, 0 insertions, 0 deletions