summaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-10-25 16:38:49 +0000
committercorvid <corvid@lavabit.com>2009-10-25 16:38:49 +0000
commit4fca34184fd537cdd414f6b502c8b602e5df8eb4 (patch)
tree7abc8c765cee09f5e66cc7c14c3b17933dfe2df5 /dw
parenta5e4b9b07c9c6cd8d8579b01ae1d5cd80710c24d (diff)
recognize latin list style types as synonyms for alpha
Diffstat (limited to 'dw')
-rw-r--r--dw/style.cc2
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 ? */