[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24398: [PATCH] Refactor common code in {upcase, downcase, capitalize
From: |
Eli Zaretskii |
Subject: |
bug#24398: [PATCH] Refactor common code in {upcase, downcase, capitalize}-word functions |
Date: |
Sat, 10 Sep 2016 09:46:19 +0300 |
> From: Michal Nazarewicz <mina86@mina86.com>
> Date: Fri, 9 Sep 2016 23:59:19 +0200
>
> * src/casefiddle.c (operate_on_word): Removed in favour of…
> (casify_word) …new function which does what operate_on_word did plus
> what all of the common code from *-word functions.
> (upcase-word, downcase-word, capitalize-word): Move code common between
> those functions (pretty much the whole body of those functions) into
> casify_word and use that instead of now deleted operato_on_word.
^^^^^^^^^^^^^^^
A typo.
Thanks.