]> granicus.if.org Git - neomutt/commit
fix: rework initials to allow unicode characters
authorRichard Russon <rich@flatcap.org>
Tue, 20 Dec 2016 15:15:39 +0000 (15:15 +0000)
committerRichard Russon <rich@flatcap.org>
Sat, 31 Dec 2016 17:17:45 +0000 (17:17 +0000)
commit0dbae85d463ce77e3e94cf5c8c433cc26849f737
treeda7553266d60c6e3327ae62eb32b0f8cf24f7526
parent816095bfdb72caafd8845e8fb28cbc8c6afc114f
fix: rework initials to allow unicode characters

Take a name, e.g. "John F. Kennedy" and reduce it to initials "JFK".
The function saves the first character from each word.  Words are
delimited by whitespace, or hyphens (so "Jean-Pierre" becomes "JP").
hdrline.c