mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* editcmd.c (edit_replace_prompt): Fixed codepage conversion bug
introduced in on 2004-09-25 by me.
This commit is contained in:
parent
dd2bc78a60
commit
188b970477
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user