]> git.pld-linux.org Git - packages/cinepaint.git/blob - cinepaint-ptr.patch
Release 12 (by relup.sh)
[packages/cinepaint.git] / cinepaint-ptr.patch
1 --- cinepaint/plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp.orig  2016-12-09 23:50:43.000000000 +0100
2 +++ cinepaint/plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp       2023-08-31 21:54:14.201770620 +0200
3 @@ -349,12 +349,12 @@ ICCtag::getText                     (std
4  #   ifdef DEBUG_ICCTAG
5      DBG_NUM_S ((int)strchr(txt, 13))
6  #   endif
7 -    while (strchr(txt, 13) > 0) { // \r 013 0x0d
8 +    while (strchr(txt, 13) != NULL) { // \r 013 0x0d
9        pos = strchr(txt, 13);
10  #     ifdef DEBUG_ICCTAG
11        //cout << (int)pos << " "; DBG
12  #     endif
13 -      if (pos > 0) {
14 +      if (pos != NULL) {
15          if (*(pos+1) == '\n')
16            *pos = ' ';
17          else
This page took 0.060239 seconds and 3 git commands to generate.