Save some bytes in various structs.

This commit is contained in:
Kim Woelders 2013-06-29 16:09:59 +02:00
parent ceabc2e96d
commit 108a3a6042
3 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ struct _ewinbit {
Win win;
int x, y, w, h;
int cx, cy, cw, ch;
int state;
char state;
char expose;
char left;
ImageState *is;

View File

@ -63,15 +63,15 @@ struct _button {
int flags;
char internal;
char default_show;
char state;
char left;
EObj *owner;
ButtonCbFunc *func;
int state;
Window inside_win;
#if 0 /* Unused */
Window event_win;
#endif
char left;
unsigned int ref_count;
};

View File

@ -183,10 +183,10 @@ PagerScanCancel(Pager * p)
static int
PagerScanTimeout(void *data)
{
static const char offsets[8] = { 0, 4, 2, 6, 1, 5, 3, 7 };
Pager *p = (Pager *) data;
EWin *ewin;
int y, y2, phase, cx, cy, ww, hh, xx, yy;
static int offsets[8] = { 0, 4, 2, 6, 1, 5, 3, 7 };
int pager_mode = PagersGetMode();
if (pager_mode != PAGER_MODE_SNAP)