зеркало из 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);
|
||||
|
||||
#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",
|
||||
aWidth, aHeight, (int) mInfoHeader->cx, aHeight);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Okay. Now have current state of bitmap in mBits.
|
||||
|
|
Загрузка…
Ссылка в новой задаче