kopia lustrzana https://gitlab.com/sane-project/backends
*** empty log message ***
rodzic
75985d5568
commit
5b38d6f1d6
|
@ -1,3 +1,7 @@
|
|||
2007-03-17 Oliver Rauch <oliver.rauch@xsane.org>
|
||||
* Bug #303752: Maybe faulty icc-profile-file length detection:
|
||||
corrected icc profile length calculation
|
||||
|
||||
2007-03-08 Earle F. Philhower, III <earlephilhower@yahoo.com>
|
||||
|
||||
* backend/sm3840*.[ch]: Add 1-bpp modes (lineart, halftone)
|
||||
|
|
|
@ -282,7 +282,7 @@ write_tiff_grey_header (FILE *fptr, int width, int height, int depth,
|
|||
}
|
||||
else
|
||||
{
|
||||
icc_len = 16777216 * fgetc(icc_file)*65536+fgetc(icc_file)+fgetc(icc_file)*256+fgetc(icc_file);
|
||||
icc_len = 16777216 * fgetc(icc_file) + 65536 * fgetc(icc_file) + 256 * fgetc(icc_file) + fgetc(icc_file);
|
||||
rewind(icc_file);
|
||||
}
|
||||
}
|
||||
|
@ -432,7 +432,7 @@ write_tiff_color_header (FILE *fptr, int width, int height, int depth,
|
|||
}
|
||||
else
|
||||
{
|
||||
icc_len = 16777216 * fgetc(icc_file)*65536+fgetc(icc_file)+fgetc(icc_file)*256+fgetc(icc_file);
|
||||
icc_len = 16777216 * fgetc(icc_file) + 65536 * fgetc(icc_file) + 256 * fgetc(icc_file) + fgetc(icc_file);
|
||||
rewind(icc_file);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue