Fixed an error reported by gcc on Fedora about format-security (#373)

This fixes something that is neither invalid nor a security vulnerability, Still, distros other than Fedora may decide to report it in the future as an error too. So we are getting ahead of them.
This commit is contained in:
Bertrand Coconnier 2020-10-27 07:59:08 +01:00 committed by GitHub
parent 6b45ec2d2f
commit d3f5d40d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ MA 02110-1301, USA.
}
int testAttrib = -1;
OOLog(@"display.initGL", @"Achieved color / depth buffer sizes (bits):");
OOLog(@"display.initGL", @"%@", @"Achieved color / depth buffer sizes (bits):");
SDL_GL_GetAttribute(SDL_GL_RED_SIZE, &testAttrib);
OOLog(@"display.initGL", @"Red: %d", testAttrib);
SDL_GL_GetAttribute(SDL_GL_GREEN_SIZE, &testAttrib);