# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1342480261 0 # Node ID 0cdfb0c3f4caf023070fdb2f2a39b7c246962e68 # Parent c02f23d245073a5478e88a492589cb167988ab51 Fix loading bitmap buttons from data via GBM on OS/2. diff -r c02f23d24507 -r 0cdfb0c3f4ca os2/dw.c --- 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); }