Update src/core/s-trim.c

2013.02.02 by CCX (cc@x.isla.pr)

>> trim "  x ^/"
== "x x^/"

Fixed that trim bug, found in trim_head_tail(). Changed some var
names and the function declaration to make easier to understand
the algorithm. Now head and tail are trimmed first because its
simpler that way.

First time I ever use github...
Trim that Bug! (minor tweaks)

• Removed useless `const` from function declaration (suggested by hostilefork.)
• Removed unnecessary in-source change log.
Update src/core/s-trim.c
Update s-trim.c

alf --> append_line_feed

I read Earl's comment in StackOverflow: 'adding a variable named alf while renaming hf and tf to make things "easier to understand" strikes me as inconsistent'. Earl is right.
Minor tweaks

Minor tweaks in the placement of some ++ operators, to minimize
the changes. (suggested by HostileFork, Ladislav, and other...)
Update s-trim.c
Update s-trim.c
Update s-trim.c
Merge pull request #76 from CCX/patch-1

Trim that bug! (src/core/s-trim.c)  -- interesting pull history, glad it got sorted out. Thanks.