This commit is contained in:
David Rose 2003-08-01 16:09:25 +00:00
parent 0855deea3f
commit e69c6b3bd6
1 changed files with 4 additions and 2 deletions

View File

@ -208,8 +208,10 @@ TypeHandle PNMFileTypeTIFF::_type_handle;
////////////////////////////////////////////////////////////////////
PNMFileTypeTIFF::
PNMFileTypeTIFF() {
if (pnmimage_tiff_cat.is_debug()) {
pnmimage_tiff_cat.debug()
// This constructor may run at static init type, so we use the ->
// dereferencing convention on the notify category.
if (pnmimage_tiff_cat->is_debug()) {
pnmimage_tiff_cat->debug()
<< TIFFGetVersion() << "\n";
}
}