Thread (20 messages) 20 messages, 3 authors, 2016-06-15

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

flat view

From: Duy Nguyen <hidden>
Date: 2016-06-15 23:06:12

On Sun, Aug 9, 2015 at 9:11 PM, Karthik Nayak [off-list ref] 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.
I smell an opportunity to reuse this code and kill some in pretty.c's
format_and_pad_commit(). If you want, you can do it. Else this is my
personal note so I don't forget to do it later :)
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help