diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-07 00:15:11 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-07 00:26:17 +0200 |
commit | cbedb544086e77abc367b900a244e4f29baa74dd (patch) | |
tree | 1ea298b2207ec6737d9a9eff168050da66591f95 /editor/icons/icon_mini_array.svg | |
parent | 0b8fa1e01068af9924742ade2625e021ccd2c5a8 (diff) |
Fix EOF in wav file importer
In #10973 I reset the state of the stream in get_pos() assuming that the
ftell failing would cause proper error checking. This is not how this
class was designed, however. This commit fixes the get_8() method to
not return unitialized data on eof, and removes the wrong error resets
added in #10973.
This fixes #11022
Diffstat (limited to 'editor/icons/icon_mini_array.svg')
0 files changed, 0 insertions, 0 deletions