Fix branding in metadata for PNG screenshots
This commit is contained in:
parent
e62d903d6a
commit
23f4c5bb1b
1 changed files with 4 additions and 4 deletions
|
@ -369,10 +369,10 @@ void CAPTURE_AddImage(Bitu width, Bitu height, Bitu bpp, Bitu pitch, Bitu flags,
|
|||
#ifdef PNG_TEXT_SUPPORTED
|
||||
int fields = 1;
|
||||
png_text text[1] = {};
|
||||
const char* text_s = "DOSBox " VERSION;
|
||||
size_t strl = strlen(text_s);
|
||||
char* ptext_s = new char[strl + 1];
|
||||
strcpy(ptext_s, text_s);
|
||||
const char* text_s = "dosbox-staging " VERSION;
|
||||
const size_t text_len = strlen(text_s);
|
||||
char* ptext_s = new char[text_len + 1];
|
||||
strncpy(ptext_s, text_s, text_len);
|
||||
char software[9] = { 'S','o','f','t','w','a','r','e',0};
|
||||
text[0].compression = PNG_TEXT_COMPRESSION_NONE;
|
||||
text[0].key = software;
|
||||
|
|
Loading…
Add table
Reference in a new issue