diff options
author | Graham Inggs <ginggs@debian.org> | 2018-02-05 14:48:51 +0200 |
---|---|---|
committer | Graham Inggs <ginggs@debian.org> | 2018-02-05 14:48:51 +0200 |
commit | 2ee50d030178cede83eb9d0005fbc19f819d30fe (patch) | |
tree | 67d75c0a7c47e15bed9d0735ecf12abec4f8157b /IncSet.c | |
parent | 31b71b67011fa52f091df6fe536a11d6d0bfb256 (diff) | |
download | debian_htop-2ee50d030178cede83eb9d0005fbc19f819d30fe.tar.gz debian_htop-2ee50d030178cede83eb9d0005fbc19f819d30fe.tar.bz2 debian_htop-2ee50d030178cede83eb9d0005fbc19f819d30fe.zip |
Imported Upstream version 2.1.0upstream/2.1.0
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) { |