Mercurial > dwindows
comparison os2/dw.c @ 1711:e2c5715d057d
Fix dw_window_set_bitmap() on OS/2 on files with extensions.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 06 May 2012 00:02:02 +0000 |
parents | 043db6b221c2 |
children | b39c137cc6f5 |
comparison
equal
deleted
inserted
replaced
1710:b217cf9161c7 | 1711:e2c5715d057d |
---|---|
6996 if(access(file, 04) == 0 && | 6996 if(access(file, 04) == 0 && |
6997 _load_bitmap_file(file, handle, &hbm, &hdc, &hps, &width, &height, &depth)) | 6997 _load_bitmap_file(file, handle, &hbm, &hdc, &hps, &width, &height, &depth)) |
6998 break; | 6998 break; |
6999 } | 6999 } |
7000 } | 7000 } |
7001 else | |
7002 _load_bitmap_file(file, handle, &hbm, &hdc, &hps, &width, &height, &depth); | |
7001 | 7003 |
7002 if(!hdc) | 7004 if(!hdc) |
7003 return; | 7005 return; |
7004 | 7006 |
7005 dw_window_set_data(handle, "_dw_hps", (void *)hps); | 7007 dw_window_set_data(handle, "_dw_hps", (void *)hps); |