Fix a problem that reads over the end of src

from: http://sourceforge.net/p/tmux/mailman/message/32078668/
Fix a decrement when not finishing an UTF-8 character
A check of len is needless
Remove a blank line