Wargus / stargus

Importer and scripts for Starcraft
GNU General Public License v2.0
127 stars 24 forks source link

incorrect use of fread in mpq.cpp #7

Closed timfel closed 8 years ago

timfel commented 8 years ago

In the latest branch of stargus Jan. 10, 2012, mpq.cpp uses fread incorrectly. It returns the number of objects read, not the number of bytes read. A patch that fixes this problem is attached.


Imported from Launchpad using lp2gh.

timfel commented 8 years ago

(by emtneutrino)

timfel commented 8 years ago

(by pali) I commited similar patch: http://bazaar.launchpad.net/~stratagus/stargus/trunk/revision/285