diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-23 13:50:09 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-23 13:50:09 +0000 |
commit | d9137fd4b6031f0d1640b31779b41dbf742df18d (patch) | |
tree | 5daee43fbc9b10d74d8e4c7b2ce953f0be02c7b9 /Src/Zle/zle_move.c | |
parent | 23f6fa7244c24f56b00c1eba2dab0c0178662e18 (diff) | |
download | zsh-d9137fd4b6031f0d1640b31779b41dbf742df18d.tar.gz zsh-d9137fd4b6031f0d1640b31779b41dbf742df18d.tar.xz zsh-d9137fd4b6031f0d1640b31779b41dbf742df18d.zip |
20854: more Unicode stuff.
Diffstat (limited to 'Src/Zle/zle_move.c')
-rw-r--r-- | Src/Zle/zle_move.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/zle_move.c b/Src/Zle/zle_move.c index b939df06b..a60b4dfd0 100644 --- a/Src/Zle/zle_move.c +++ b/Src/Zle/zle_move.c @@ -469,9 +469,9 @@ visetmark(UNUSED(char **args)) ZLE_INT_T ch; ch = getfullchar(0); - if (ch < LETTER_a || ch > LETTER_z) + if (ch < ZWC('a') || ch > ZWC('z')) return 1; - ch -= LETTER_a; + ch -= ZWC('a'); vimarkcs[ch] = zlecs; vimarkline[ch] = histline; return 0; @@ -487,9 +487,9 @@ vigotomark(UNUSED(char **args)) if (ch == LASTFULLCHAR) ch = 26; else { - if (ch < LETTER_a || ch > LETTER_z) + if (ch < ZWC('a') || ch > ZWC('z')) return 1; - ch -= LETTER_a; + ch -= ZWC('a'); } if (!vimarkline[ch]) return 1; |