This error checking was just simply wrong - OS/2 only

This commit is contained in:
mkaply%us.ibm.com 2005-03-08 15:42:02 +00:00
Родитель af66574cdb
Коммит 6985161a1c
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -325,9 +325,11 @@ nsresult nsOffscreenSurface::Lock( PRInt32 aX, PRInt32 aY,
(PBITMAPINFO2)mInfoHeader), GPI_ALTERROR);
#ifdef DEBUG
if( rc != mInfoHeader->cy) PMERROR( "GpiQueryBitmapBits");
printf( "Lock, requested %d x %d and got %d x %d\n",
aWidth, aHeight, (int) mInfoHeader->cx, aHeight);
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.