mirror of
https://github.com/ganelson/inform.git
synced 2024-06-26 04:00:43 +03:00
Omit example descriptions from the general index. (We'll use ^^{}
indexing instead.)
This commit is contained in:
parent
2fa1defd6d
commit
cd37c61d84
|
@ -589,6 +589,7 @@ int Indexes::sort_comparison(const void *ent1, const void *ent2) {
|
|||
for (int i=0; i<NL; i++) {
|
||||
index_lemma *il = lemma_list[i];
|
||||
if ((just_examples) && (il->example_index_status == 0)) continue;
|
||||
if ((!just_examples) && (il->example_index_status == 2)) continue;
|
||||
inchar32_t incipit = Str::get_first_char(il->sorting_key);
|
||||
if (Characters::isalpha(incipit)) incipit = Characters::toupper(incipit);
|
||||
else incipit = '#';
|
||||
|
|
Loading…
Reference in a new issue