diff --git a/src/editor/edit.c b/src/editor/edit.c
index 9f083af..54b22b7 100644
a
|
b
|
edit_move_forward3 (WEdit * edit, long current, int cols, long upto) |
2925 | 2925 | for (col = 0, p = current; p < q; p++) |
2926 | 2926 | { |
2927 | 2927 | int c, orig_c; |
| 2928 | #ifdef HAVE_CHARSET |
2928 | 2929 | int utf_ch = 0; |
2929 | | #ifdef HAVE_CHARSET |
2930 | 2930 | int cw = 1; |
2931 | 2931 | #endif |
2932 | 2932 | if (cols != -10) |
… |
… |
edit_move_forward3 (WEdit * edit, long current, int cols, long upto) |
2951 | 2951 | else if (cw > 1 && g_unichar_isprint (utf_ch)) |
2952 | 2952 | col -= cw - 1; |
2953 | 2953 | } |
2954 | | #endif |
2955 | 2954 | c = convert_to_display_c (c); |
| 2955 | #endif |
2956 | 2956 | if (c == '\t') |
2957 | 2957 | col += TAB_SIZE - col % TAB_SIZE; |
2958 | 2958 | else if (c == '\n') |