diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-07-26 16:16:10 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-07-26 16:16:10 -0300 |
commit | 3975e9ce5cba0e3972b2ddab28c198e000441501 (patch) | |
tree | db55e1d38775d02ba051cbb8235f4ad2b7bc53a9 /IncSet.c | |
parent | 543d65c6ab767a53844c28d9e887440dec90da1c (diff) | |
parent | 821d50f0b49237052c988f4170737ebce17f33d6 (diff) |
Merge branch 'master' of https://github.com/hishamhm/htop
Diffstat (limited to 'IncSet.c')
-rw-r--r-- | IncSet.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -52,8 +52,8 @@ static void IncMode_reset(IncMode* mode) { mode->buffer[0] = 0; } -static const char* searchFunctions[] = {"Next ", "Cancel ", " Search: ", NULL}; -static const char* searchKeys[] = {"F3", "Esc", " "}; +static const char* const searchFunctions[] = {"Next ", "Cancel ", " Search: ", NULL}; +static const char* const searchKeys[] = {"F3", "Esc", " "}; static int searchEvents[] = {KEY_F(3), 27, ERR}; static inline void IncMode_initSearch(IncMode* search) { @@ -62,8 +62,8 @@ static inline void IncMode_initSearch(IncMode* search) { search->isFilter = false; } -static const char* filterFunctions[] = {"Done ", "Clear ", " Filter: ", NULL}; -static const char* filterKeys[] = {"Enter", "Esc", " "}; +static const char* const filterFunctions[] = {"Done ", "Clear ", " Filter: ", NULL}; +static const char* const filterKeys[] = {"Enter", "Esc", " "}; static int filterEvents[] = {13, 27, ERR}; static inline void IncMode_initFilter(IncMode* filter) { |