Forgot to initiliaze a field. Thanks Mok
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4024
This commit is contained in:
parent
df0fa99d88
commit
dc5b586c28
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ void CAPTURE_AddImage(Bitu width, Bitu height, Bitu bpp, Bitu pitch, Bitu flags,
|
|||
}
|
||||
#ifdef PNG_TEXT_SUPPORTED
|
||||
int fields = 1;
|
||||
png_text text[1];
|
||||
png_text text[1] = {};
|
||||
const char* text_s = "DOSBox " VERSION;
|
||||
size_t strl = strlen(text_s);
|
||||
char* ptext_s = new char[strl + 1];
|
||||
|
|
Loading…
Add table
Reference in a new issue