nsxivf46d305
eleminate padding from struct img on 64bit systems (#136)
on 64bit systems this reduces the size of the struct from 104 bytes down to 96 bytes. on 32bits system this change shouldn't have any affect.
+3 −3
1 file changed
- M nsxiv.h +3 −3
| @@ -210,6 +210,9 @@ struct img { | |||
| 210 | 210 | float x; | |
| 211 | 211 | float y; | |
| 212 | 212 | ||
| 213 | + | Imlib_Color_Modifier cmod; | |
| 214 | + | int gamma; | |
| 215 | + | ||
| 213 | 216 | scalemode_t scalemode; | |
| 214 | 217 | float zoom; | |
| 215 | 218 | ||
| @@ -218,9 +221,6 @@ struct img { | |||
| 218 | 221 | bool aa; | |
| 219 | 222 | bool alpha; | |
| 220 | 223 | ||
| 221 | − | Imlib_Color_Modifier cmod; | |
| 222 | − | int gamma; | |
| 223 | − | ||
| 224 | 224 | struct { | |
| 225 | 225 | bool on; | |
| 226 | 226 | int delay; | |