1
0
Fork 0

Fix #9643, 95386dc: Incorrect determination of screenshot format (#9644)

pull/9645/head
Loïc Guilloux 2021-10-22 16:34:48 +02:00 committed by GitHub
parent ae340f415e
commit 08c048e0a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ void InitializeScreenshotFormats()
{
uint j = 0;
for (uint i = 0; i < lengthof(_screenshot_formats); i++) {
if (_screenshot_format_name.compare(_screenshot_formats[i].extension) != 0) {
if (_screenshot_format_name.compare(_screenshot_formats[i].extension) == 0) {
j = i;
break;
}