changeset 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 c02f23d24507
children e71ab68198ce
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
             }