Project

General

Profile

Bug #533 » change_Photoshop_IRB_warning_to_debug.patch

Changed warnings 'Invalid or extended Photoshop IRB' to debug messages. - Volker Grabsch, 13 Jul 2009 04:53

View differences:

trunk/src/jpgimage.cpp (Arbeitskopie)
138 138
            psSize += (psSize & 1);
139 139
            position += psSize;
140 140
            if (position + 4 > sizePsData) {
141
#ifndef SUPPRESS_WARNINGS
141
#ifdef DEBUG
142 142
                std::cerr << "Warning: "
143 143
                          << "Invalid or extended Photoshop IRB\n";
144 144
#endif
......
177 177
        std::cerr << "pPsData doesn't start with '8BIM'\n";
178 178
#endif
179 179
        if (position < sizePsData) {
180
#ifndef SUPPRESS_WARNINGS
180
#ifdef DEBUG
181 181
            std::cerr << "Warning: "
182 182
                      << "Invalid or extended Photoshop IRB\n";
183 183
#endif
(4-4/4)