Re: [PATCH v11 04/13] utf8: add function to align a string into given strbuf

2015-08-17 Thread Karthik Nayak
On Mon, Aug 17, 2015 at 5:18 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Sat, Aug 15, 2015 at 2:00 PM, Karthik Nayak karthik@gmail.com wrote: Add strbuf_utf8_align() which will align a given string into a strbuf as per given align_type and width. If the width is greater than the

Re: [PATCH v11 04/13] utf8: add function to align a string into given strbuf

2015-08-16 Thread Eric Sunshine
On Sat, Aug 15, 2015 at 2:00 PM, Karthik Nayak karthik@gmail.com wrote: Add strbuf_utf8_align() which will align a given string into a strbuf as per given align_type and width. If the width is greater than the string length then no alignment is performed. A couple minor comments below...

[PATCH v11 04/13] utf8: add function to align a string into given strbuf

2015-08-15 Thread Karthik Nayak
Add strbuf_utf8_align() which will align a given string into a strbuf as per given align_type and width. If the width is greater than the string length then no alignment is performed. Helped-by: Eric Sunshine sunsh...@sunshineco.com Mentored-by: Christian Couder christian.cou...@gmail.com