Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fe6093 commit fbce9e9Copy full SHA for fbce9e9
raspi2png.c
@@ -286,7 +286,7 @@ int main(int argc, char *argv[])
286
size_t entry = 0;
287
for (entry = 0; entry < imageEntries; entry++)
288
{
289
- if (strcmp(imageTypeName, imageInfo[entry].name) == 0)
+ if (strcasecmp(imageTypeName, imageInfo[entry].name) == 0)
290
291
imageType = imageInfo[entry].type;
292
bytesPerPixel = imageInfo[entry].bytesPerPixel;
0 commit comments