Reuse format_int_fixed_width() from Omega
commit9ae745ee94a40e7542b8b559bb5a343c907e03ac
authorOlly Betts <olly@survex.com>
Wed, 23 May 2018 03:36:27 +0000 (23 15:36 +1200)
committerOlly Betts <olly@survex.com>
Wed, 23 May 2018 03:36:27 +0000 (23 15:36 +1200)
treebeb5915b1ea6b9657e7b96b9390bb08c578b4e58
parent6e74dd2bedc2db3e0a408b6330953446bc3279f9
Reuse format_int_fixed_width() from Omega

It's faster than snprintf(), and avoids having to worry about
whether snprintf() is available (it should be under C++11, but
newer ISO C library functions is an area where implementations
often fail to fully conform).
xapian-core/api/valuerangeproc.cc