From 4d565772a6403bd54fde6219c343cbdf642bee04 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 23 Nov 2021 11:19:33 +0100 Subject: code-style: define fieldmap in the same order as the enum declaration --- sfeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfeed.c b/sfeed.c index 9d04114..6042cb1 100644 --- a/sfeed.c +++ b/sfeed.c @@ -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, -- cgit v1.2.3