* editcmd.c (edit_replace_prompt): Fixed codepage conversion bug

introduced in on 2004-09-25 by me.
This commit is contained in:
Roland Illig 2004-11-10 06:50:50 +00:00
parent dd2bc78a60
commit 188b970477
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-11-10 Roland Illig <roland.illig@gmx.de>
* editcmd.c (edit_replace_prompt): Fixed codepage conversion bug
introduced in on 2004-09-25 by me.
2004-10-23 Roland Illig <roland.illig@gmx.de>
* editdraw.c (edit_status): Expand the filename field in the status

View File

@ -1183,8 +1183,9 @@ edit_replace_prompt (WEdit * edit, char *replace_text, int xpos, int ypos)
GString *label_text = g_string_new (_(" Replace with: "));
if (*replace_text) {
size_t label_len = label_text->len;
g_string_append (label_text, replace_text);
convert_to_display (label_text->str + label_text->len);
convert_to_display (label_text->str + label_len);
}
quick_widgets[5].text = label_text->str;