From 409b412f2dc2c6d1c3a768f3e17f4eda30fe9bb8 Mon Sep 17 00:00:00 2001 From: Peter Ruibal Date: Wed, 7 Feb 2024 17:21:29 -0800 Subject: [PATCH] Fix icon/customId enum value swap in docs. According to the common.nim, the enum order is: akComment, akIndexed, akCustomId, akIcon, akLabel Swap and update Icon/CustomID so they match the order and value from the source code. --- extras/docs/fileformat.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extras/docs/fileformat.txt b/extras/docs/fileformat.txt index ba3d843d..45c81010 100644 --- a/extras/docs/fileformat.txt +++ b/extras/docs/fileformat.txt @@ -121,12 +121,12 @@ Notes: UINT16 index (max=9999) UINT8 indexColor (max=3) - if kind == 2 (icon) - UINT8 icon (max=39, see NoteIcons in icons.nim - for mappings) - if kind == 3 (customId) + if kind == 2 (customId) BSTR custom ID (minLen=1, maxLen=2, only alphanumeric) + if kind == 3 (icon) + UINT8 icon (max=39, see NoteIcons in icons.nim + for mappings) if kind == 4 (label) UINT8 labelColor (max=3)