Alphanumeric archive load order; Comix 4.0.4
Brought to you by:
herrekberg
Here's a quick patch in response to https://sourceforge.net/forum/forum.php?thread_id=3239773&forum_id=489523 if anyone wants it.
It just makes it so that archives will load in order like: 1.rar, 2.rar, ..., 8.rar, 9.rar, 10.rar, ..., 19.rar, 20.rar
Previously it loaded like: 10.rar, ..., 19.rar, 1.rar, 20.rar since that's how it's defined in the locale files.
Comix 4.0.4; apply in archive root directory.
I have tested this patch, and it works. Not only does alphanumerc_sort() correctly handle simple numeric filenames as described above, it correctly sorts complex numbering schemes such as:
"MyComic v8 c1.cbr", "MyComic v8 c2.cbr", ... "MyComic v8 c10.cbr".
This should resolve Bug #2766253, Bug #2834284, and Bug #2817501. Please apply this patch ASAP!
For reference, the URLs of those bugs are:
https://sourceforge.net/tracker/?func=detail&aid=2817501&group_id=146377&atid=764985
https://sourceforge.net/tracker/?func=detail&aid=2766253&group_id=146377&atid=764988
https://sourceforge.net/tracker/?func=detail&aid=2834284&group_id=146377&atid=764986
Also I submitted a patch to fix this in the libarary view:
https://sourceforge.net/tracker/?func=detail&aid=2869619&group_id=146377&atid=764987