Don't crash if we try to paste with an empty (but not null) register.
author Simon St James
()
committer Simon St James
()
commit 8a70d96e33862290720cfa4d9f84310c66505bd4
tree 965ae7daee1a924f6061b55ed5458fe39598e75a
parent a8b5ff543cd971a253e86c5d80387b2b22279367
Don't crash if we try to paste with an empty (but not null) register.

Thanks to Mehran Kholdi for the patch and test-case!

cherry-picked from master.

CCBUG:324797
part/vimode/katevinormalmode.cpp
tests/vimode_test.cpp