Merge pull request #1305 from ricksladkey/fixes-put-empty

Fix line-wise put before on an empty buffer
Merge remote-tracking branch 'upstream/master'