diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-12 19:52:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-12 19:52:15 +0200 |
commit | 6395af8018c523da2339ecf60a457ba70494a9c4 (patch) | |
tree | 6be35d744733314e06eee993fdb9331446c24bf1 /src/fileio.c | |
parent | edb07a2d889481525396eb76cd5bff4be592784e (diff) | |
download | vim-6395af8018c523da2339ecf60a457ba70494a9c4.zip |
updated for version 7.3.1177
Problem: Wasting memory on padding.
Solution: Reorder struct fields. (Dominique Pelle)
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c index f1db98364..6665c3a1c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -7614,16 +7614,16 @@ typedef struct AutoCmd typedef struct AutoPat { - int group; /* group ID */ char_u *pat; /* pattern as typed (NULL when pattern has been removed) */ - int patlen; /* strlen() of pat */ regprog_T *reg_prog; /* compiled regprog for pattern */ - char allow_dirs; /* Pattern may match whole path */ - char last; /* last pattern for apply_autocmds() */ AutoCmd *cmds; /* list of commands to do */ struct AutoPat *next; /* next AutoPat in AutoPat list */ + int group; /* group ID */ + int patlen; /* strlen() of pat */ int buflocal_nr; /* !=0 for buffer-local AutoPat */ + char allow_dirs; /* Pattern may match whole path */ + char last; /* last pattern for apply_autocmds() */ } AutoPat; static struct event_name |