comparison Mouse.cpp @ 1631:8094f1706b1f

operator new() -> malloc
author Nomad
date Tue, 10 Sep 2013 21:17:00 +0200
parents 9f8b3e904e14
children 5f01f1ed97f4
comparison
equal deleted inserted replaced
1585:e42073046f92 1631:8094f1706b1f
412 || a2 + pTextureWidth != this->field_48 412 || a2 + pTextureWidth != this->field_48
413 || v6 + v7 != this->field_4C ) 413 || v6 + v7 != this->field_4C )
414 { 414 {
415 if ( this->pCursorBitmap3_sysmembits_16bit ) 415 if ( this->pCursorBitmap3_sysmembits_16bit )
416 free(this->pCursorBitmap3_sysmembits_16bit); 416 free(this->pCursorBitmap3_sysmembits_16bit);
417 this->pCursorBitmap3_sysmembits_16bit = (unsigned __int16 *)operator new(2 * pTexture->uTextureHeight * pTexture->uTextureWidth); 417 this->pCursorBitmap3_sysmembits_16bit = (unsigned __int16 *)malloc(2 * pTexture->uTextureHeight * pTexture->uTextureWidth);
418 this->field_40 = a2; 418 this->field_40 = a2;
419 this->field_48 = a2 + pTextureWidth; 419 this->field_48 = a2 + pTextureWidth;
420 this->field_44 = v6; 420 this->field_44 = v6;
421 this->field_4C = v6 + v19; 421 this->field_4C = v6 + v19;
422 } 422 }