mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02: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:
1 parent
de969c0b5e
commit
9b2ca26ce8
1 file changed
+1
-1
+1
-1
@@ -190,7 +190,7 @@ enum RImageFormat {
|
||||
*/
|
||||
typedef struct RImage {
|
||||
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;
|
||||
RColor background; /* background color */
|
||||
} RImage;
|
||||
|
||||
Reference in new issue
Block a user