зеркало из https://github.com/mozilla/pjs.git
This error checking was just simply wrong - OS/2 only
This commit is contained in:
Родитель
b89491d459
Коммит
80eb71be69
|
@ -325,9 +325,11 @@ nsresult nsOffscreenSurface::Lock( PRInt32 aX, PRInt32 aY,
|
||||||
(PBITMAPINFO2)mInfoHeader), GPI_ALTERROR);
|
(PBITMAPINFO2)mInfoHeader), GPI_ALTERROR);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if( rc != mInfoHeader->cy) PMERROR( "GpiQueryBitmapBits");
|
if( rc != mScans) {
|
||||||
|
PMERROR( "GpiQueryBitmapBits");
|
||||||
printf( "Lock, requested %d x %d and got %d x %d\n",
|
printf( "Lock, requested %d x %d and got %d x %d\n",
|
||||||
aWidth, aHeight, (int) mInfoHeader->cx, aHeight);
|
aWidth, aHeight, (int) mInfoHeader->cx, aHeight);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Okay. Now have current state of bitmap in mBits.
|
// Okay. Now have current state of bitmap in mBits.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче