color-words: refactor word splitting and use ALLOC_GROW()
commit563108d650f5f3bfc2ce86e93e68500e328e2759
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 11 Jan 2009 17:20:40 +0000 (11 18:20 +0100)
committerThomas Rast <trast@student.ethz.ch>
Sat, 17 Jan 2009 16:13:36 +0000 (17 17:13 +0100)
treeb96844be236fffb6e92131ca34977e03f6594ff5
parent2b9b9d2f39152b0d1f1d16710571df0239ae1d46
color-words: refactor word splitting and use ALLOC_GROW()

Word splitting is now performed by the function diff_words_fill(),
avoiding having the same code twice.

In the same spirit, avoid duplicating the code of ALLOC_GROW().

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
diff.c