no crash on goto char.
Merge pull request #914 from monkeyiq/2013nov/issues/879v6

no crash on goto char.