]> git.sur5r.net Git - glabels/commit
Use "natural" sorting order for part numbers
authorJim Evins <evins@snaught.com>
Mon, 4 Jan 2010 03:05:08 +0000 (22:05 -0500)
committerJim Evins <evins@snaught.com>
Mon, 4 Jan 2010 03:05:08 +0000 (22:05 -0500)
commit9f99c2dc866740bf252fa6f0e6e28d165ae3606f
treeeababb4607e38b22e2bc589459e08c6f6b465a0e
parent90cd31f442b5d0d115ea72fe828414ad32c9e944
Use "natural" sorting order for part numbers

Use a "natural" sorting order for part numbers.  I.e. numeric portions are
sorted numerically rather than character by character, such that
"A20" will precede "A100".

Also found and fixed a couple minor inconsistencies in the template data base
while debugging the new sorting code.
libglabels/db.c
libglabels/str.c
libglabels/str.h
templates/avery-other-templates.xml
templates/avery-us-templates.xml