wrap_c: don't ignore cursor_wrapped in top_hdr
Merge pull request #70 from nolta/wrap-logic

wrap_c: don't ignore cursor_wrapped in top_hdr