diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-10-17 15:41:30 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-10-17 15:41:30 +0200 |
| commit | 6be820495d70e6f10a92fbdaf6a1e4a278b02ab6 (patch) | |
| tree | 231dc7985ce18eb57cf6b5dfa2ede3e4a90c32e0 /vis.c | |
| parent | bd354843c2751ec6c7b5b85ef08f9145f6232e6e (diff) | |
| download | vis-6be820495d70e6f10a92fbdaf6a1e4a278b02ab6.tar.gz vis-6be820495d70e6f10a92fbdaf6a1e4a278b02ab6.tar.xz | |
Make running flag volatile
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ typedef struct { /* command definitions for the ':'-prom } Command; /** global variables */ -static bool running = true; /* exit main loop once this becomes false */ +static volatile bool running = true; /* exit main loop once this becomes false */ static Editor *vis; /* global editor instance, keeps track of all windows etc. */ static Mode *mode; /* currently active mode, used to search for keybindings */ static Mode *mode_prev; /* mode which was active previously */ |
