"Fossies" - the Fresh Open Source Software Archive

Member "texmaker-5.0.4/pdfium/third_party/lcms2-2.6/0000-tag-type-confusion.patch" (16 Apr 2017, 613 Bytes) of package /linux/misc/texmaker-5.0.4.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff --git a/third_party/lcms2-2.6/src/cmsio0.c b/third_party/lcms2-2.6/src/cmsio0.c
    2 index 6549d15..5f9f08a 100644
    3 --- a/third_party/lcms2-2.6/src/cmsio0.c
    4 +++ b/third_party/lcms2-2.6/src/cmsio0.c
    5 @@ -719,7 +719,8 @@ cmsBool _cmsReadHeader(_cmsICCPROFILE* Icc)
    6          for (j=0; j < Icc ->TagCount; j++) {
    7  
    8              if ((Icc ->TagOffsets[j] == Tag.offset) &&
    9 -                (Icc ->TagSizes[j]   == Tag.size)) {
   10 +                (Icc ->TagSizes[j]   == Tag.size) &&
   11 +                (Icc ->TagNames[j]   == Tag.sig)) {
   12  
   13                  Icc ->TagLinked[Icc ->TagCount] = Icc ->TagNames[j];
   14              }