Small change in ThumbnailWriter.cpp