pls
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ ppm_save(const unsigned int* buf, const PPM img)
|
||||
{
|
||||
fptr = fopen(img.name, "wb");
|
||||
}
|
||||
if(img.fmt != '6' || img.fmt != '3') {
|
||||
if(img.fmt != '6' && img.fmt != '3') {
|
||||
printf("fmt failed\n");
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user