document: Remove duplicated code.
commit7fba0317d05effab1f1c3cc1a4c40163669631af
authorThomas Martitz <thomas.martitz@student.htw-berlin.de>
Sat, 2 Nov 2013 13:20:20 +0000 (2 14:20 +0100)
committerColomban Wendling <ban@herbesfolles.org>
Wed, 28 Jan 2015 14:33:52 +0000 (28 15:33 +0100)
treeb73f8cb5985bf262c7ff4be4b381d5dfd9d63190
parentf403e7e8c26a100534017f8ca2c5c1f1f9bac81f
document: Remove duplicated code.

Since document_compare_by_tab_order_reverse does the exact reverse of
document_compare_by_tab_order the code need not to be duplicated. Instead
document_compare_by_tab_order can be called and the return value be reversed.
src/document.c