Changeset 2184001 for editwin.c


Ignore:
Timestamp:
Oct 1, 2009, 5:30:08 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e2f7963
Parents:
955a36e
git-author:
Anders Kaseorg <andersk@mit.edu> (10/01/09 17:26:12)
git-committer:
Anders Kaseorg <andersk@mit.edu> (10/01/09 17:30:08)
Message:
Make kill-region stop killing extra bytes after multibyte characters.

oe_copy_region returns a number of bytes, so we should pass it to
owl_editwin_replace_internal, which skips converting a number of
characters into a number of bytes.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    re3c4ba2 r2184001  
    10711071    owl_editwin_exchange_point_and_mark(e);
    10721072
    1073   owl_editwin_replace(e, oe_copy_region(e), "");
     1073  owl_editwin_replace_internal(e, oe_copy_region(e), "");
    10741074}
    10751075
Note: See TracChangeset for help on using the changeset viewer.