1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Shift in bitmaps (and mem overflow I suppose)

This commit is contained in:
Bertrand Songis 2016-02-28 19:36:49 +01:00
parent 946fda5705
commit a495885472

View file

@ -489,9 +489,6 @@ BitmapBuffer * BitmapBuffer::load(const char * filename)
return NULL;
}
*dest++ = w;
*dest++ = h;
for(int row = 0; row < h; ++row) {
unsigned char *l = p;
for(int col = 0; col < w; ++col) {