Fixed bug in csGraphics2D::complete_pixel_format() where it could go into an infinite loop during calculation of RedBits, GreenBits, or BlueBits on account of an accidental sign-extension of its work variable.
Fixed bug in csGraphics2D::complete_pixel_format() where it could go into
an infinite loop during calculation of RedBits, GreenBits, or BlueBits on
account of an accidental sign-extension of its work variable.


git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@1158 8cc4aa7f-3514-0410-904f-f2cc9021211c

crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS