fix bsearch tables that must be sorted, add comment to all tables that must be sorted
This commit is contained in:
@@ -56,7 +56,8 @@ struct PaletteMapEntry {
|
||||
StrBuf* (*PaletteFunc) (const Bitmap*, const Collection*);
|
||||
};
|
||||
|
||||
/* Converter table, alphabetically sorted */
|
||||
/* Converter table */
|
||||
/* CAUTION: table must be alphabetically sorted for bsearch */
|
||||
static const PaletteMapEntry PaletteMap[] = {
|
||||
{ "lynx-palette", GenLynxPalette },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user