summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dac2963)
raw | patch | inline | side by side (parent: dac2963)
author | Max Kellermann <max@duempel.org> | |
Sun, 11 Oct 2009 17:20:52 +0000 (19:20 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 11 Oct 2009 17:20:52 +0000 (19:20 +0200) |
Use the struct name.
src/screen_help.c | patch | blob | history |
diff --git a/src/screen_help.c b/src/screen_help.c
index 316231b6b79dbe7b6c1f4124298b4e9605f9b25c..1d83bf77c3ba106644b2447f19b36a37afcca086 100644 (file)
--- a/src/screen_help.c
+++ b/src/screen_help.c
#include <assert.h>
-typedef struct {
+struct help_text_row {
signed char highlight;
command_t command;
const char *text;
-} help_text_row_t;
+};
-static help_text_row_t help_text[] = {
+static const struct help_text_row help_text[] = {
{ 1, CMD_NONE, N_("Movement") },
{ 2, CMD_NONE, NULL },
{ 0, CMD_LIST_PREVIOUS, NULL },