diff --git a/src/PIL/CurImagePlugin.py b/src/PIL/CurImagePlugin.py index 2419b8cbf..58185f431 100644 --- a/src/PIL/CurImagePlugin.py +++ b/src/PIL/CurImagePlugin.py @@ -146,10 +146,10 @@ class CurFile(IcoImagePlugin.IcoFile): icon_header["dim"] = (icon_header["width"], icon_header["height"]) icon_header["square"] = icon_header["width"] * icon_header["height"] - # TODO: This needs further investigation. Cursor files do not really - # specify their bpp like ICO's as those bits are used for the y_hotspot. - # For now, bpp is calculated by subtracting the AND mask (equal to number - # of pixels * 1bpp) and dividing by the number of pixels. This seems + # TODO: This needs further investigation. Cursor files do not really + # specify their bpp like ICO's as those bits are used for the y_hotspot. + # For now, bpp is calculated by subtracting the AND mask (equal to number + # of pixels * 1bpp) and dividing by the number of pixels. This seems # to work well so far. BITMAP_INFO_HEADER_SIZE = 40 bpp_without_and = (