diff options
| author | Richard M. Stallman | 1996-04-10 18:34:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-10 18:34:37 +0000 |
| commit | db71d41440c5739e6ae4e2a32cbdc0696b6083bc (patch) | |
| tree | 48baa0918a5e28c726cdb2bc48184ec298103175 /src | |
| parent | 25c26e74715a15d8f01c3791538be25430946080 (diff) | |
| download | emacs-db71d41440c5739e6ae4e2a32cbdc0696b6083bc.tar.gz emacs-db71d41440c5739e6ae4e2a32cbdc0696b6083bc.zip | |
(calculate_ins_del_char_costs): Use proper frame's width.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index ed34f85e78d..b81941aa585 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1092,7 +1092,7 @@ calculate_ins_del_char_costs (frame) | |||
| 1092 | 1092 | ||
| 1093 | /* Delete costs are at negative offsets */ | 1093 | /* Delete costs are at negative offsets */ |
| 1094 | p = &char_ins_del_cost (frame)[0]; | 1094 | p = &char_ins_del_cost (frame)[0]; |
| 1095 | for (i = FRAME_WIDTH (selected_frame); --i >= 0;) | 1095 | for (i = FRAME_WIDTH (frame); --i >= 0;) |
| 1096 | *--p = (del_startup_cost += del_cost_per_char); | 1096 | *--p = (del_startup_cost += del_cost_per_char); |
| 1097 | 1097 | ||
| 1098 | /* Doing nothing is free */ | 1098 | /* Doing nothing is free */ |