[WIN32K]
[reactos.git] / reactos / win32ss / user / ntuser / misc / file.c
index fea2114..6ad25a6 100644 (file)
@@ -229,6 +229,7 @@ UserLoadImage(PCWSTR pwszName)
                                          pConvertedInfo,
                                          DIB_RGB_COLORS,
                                          0,
+                                         pbmfh->bfSize - pbmfh->bfOffBits,
                                          0);
 
                NtGdiDeleteObjectApp(hdc);