Mercurial > dwindows
diff os2/dw.c @ 1777:0cdfb0c3f4ca
Fix loading bitmap buttons from data via GBM on OS/2.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 16 Jul 2012 23:11:01 +0000 |
parents | d81bebc5c8cc |
children | d1f65efea6b1 |
line wrap: on
line diff
--- a/os2/dw.c Mon Jul 16 22:32:00 2012 +0000 +++ b/os2/dw.c Mon Jul 16 23:11:01 2012 +0000 @@ -6861,7 +6861,7 @@ { fwrite( data, 1, len, fp ); fclose( fp ); - if(!_load_bitmap_file( file, tmp, &pixmap->hbm, &pixmap->hdc, &pixmap->hps, &pixmap->width, &pixmap->height, &pixmap->depth)); + if(!_load_bitmap_file( file, tmp, &pixmap->hbm, &pixmap->hdc, &pixmap->hps, &pixmap->width, &pixmap->height, &pixmap->depth)) { icon = WinLoadFileIcon((PSZ)file, FALSE); }