Skip to content
Snippets Groups Projects
Commit dfe51d5b authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

games/crossfire-client: fix build on big-endian

/wrkdirs/usr/ports/games/crossfire-client/work/crossfire-client-1.75.0/gtk-v2/src/image.c:167:31: error: use of undeclared identifier 'ny'
        for (i=0; i < width * ny; i+= 4) {
                              ^
parent 08ac14cf
No related branches found
No related tags found
No related merge requests found
--- gtk-v2/src/image.c.orig 2021-08-18 00:18:54 UTC
+++ gtk-v2/src/image.c
@@ -164,7 +164,7 @@ static void create_map_image(guint8 *data, PixmapInfo
*p = (g << 8) | (g << 16) | (g << 24) | *(l + 3);
}
- for (i=0; i < width * ny; i+= 4) {
+ for (i=0; i < width * height; i+= 4) {
guint32 *tmp;
/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment