1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

using unsigned for height and width cause a lot of confusion. I grab

X's header and see that XImage use int for its width and height so
I change RImage to follow that.
This commit is contained in:
id
2000-12-03 13:37:30 +00:00
parent de969c0b5e
commit 9b2ca26ce8

View File

@@ -190,7 +190,7 @@ enum RImageFormat {
*/ */
typedef struct RImage { typedef struct RImage {
unsigned char *data; /* image data RGBA or RGB */ unsigned char *data; /* image data RGBA or RGB */
unsigned width, height; /* size of the image */ int width, height; /* size of the image */
enum RImageFormat format; enum RImageFormat format;
RColor background; /* background color */ RColor background; /* background color */
} RImage; } RImage;