Even our comments and status messages have less bugs now (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3764
This commit is contained in:
parent
fc1ffcc528
commit
a7af902f2f
19 changed files with 26 additions and 26 deletions
|
@ -323,7 +323,7 @@ void CAPTURE_AddImage(Bitu width, Bitu height, Bitu bpp, Bitu pitch, Bitu flags,
|
|||
/* Open the actual file */
|
||||
FILE * fp=OpenCaptureFile("Screenshot",".png");
|
||||
if (!fp) goto skip_shot;
|
||||
/* First try to alloacte the png structures */
|
||||
/* First try to allocate the png structures */
|
||||
png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL,NULL, NULL);
|
||||
if (!png_ptr) goto skip_shot;
|
||||
info_ptr = png_create_info_struct(png_ptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue