diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-11-23 11:19:33 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-11-23 11:19:33 +0100 |
commit | 4d565772a6403bd54fde6219c343cbdf642bee04 (patch) | |
tree | 7f6bd420941b5c3e949d060d6e68a0a5c6f4e7ab | |
parent | 50fbf152edc0ba3a29d2cd8d5a0b949a706349b9 (diff) |
code-style: define fieldmap in the same order as the enum declaration
-rw-r--r-- | sfeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,8 +180,8 @@ static int fieldmap[TagLast] = { [RSSTagDescription] = FeedFieldContent, [RSSTagContentEncoded] = FeedFieldContent, [RSSTagGuid] = -1, - [RSSTagGuidPermalinkTrue] = FeedFieldId, /* special-case: both a link and an id */ [RSSTagGuidPermalinkFalse] = FeedFieldId, + [RSSTagGuidPermalinkTrue] = FeedFieldId, /* special-case: both a link and an id */ [RSSTagLink] = FeedFieldLink, [RSSTagEnclosure] = FeedFieldEnclosure, [RSSTagAuthor] = FeedFieldAuthor, |