diff options
author | corvid <corvid@lavabit.com> | 2009-10-25 16:38:49 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-10-25 16:38:49 +0000 |
commit | 4fca34184fd537cdd414f6b502c8b602e5df8eb4 (patch) | |
tree | 7abc8c765cee09f5e66cc7c14c3b17933dfe2df5 | |
parent | a5e4b9b07c9c6cd8d8579b01ae1d5cd80710c24d (diff) |
recognize latin list style types as synonyms for alpha
-rw-r--r-- | dw/style.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/style.cc b/dw/style.cc index bf02a7fc..ed0850ba 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -588,8 +588,10 @@ void numtostr (int num, char *buf, int buflen, ListStyleType listStyleType) switch(listStyleType){ case LIST_STYLE_TYPE_LOWER_ALPHA: + case LIST_STYLE_TYPE_LOWER_LATIN: start_ch = 'a'; case LIST_STYLE_TYPE_UPPER_ALPHA: + case LIST_STYLE_TYPE_UPPER_LATIN: i0 = num - 1; i1 = i0/26 - 1; i2 = i1/26 - 1; if (i2 > 25) /* more than 26+26^2+26^3=18278 elements ? */ |