* editcmd.c: Fixed some of the gcc warnings.
Этот коммит содержится в:
родитель
7e7b81b73e
Коммит
d12e66fb17
@ -1,3 +1,7 @@
|
|||||||
|
2005-09-05 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
|
* editcmd.c: Fixed some of the gcc warnings.
|
||||||
|
|
||||||
2005-08-19 David Martin <dmartina@excite.com>
|
2005-08-19 David Martin <dmartina@excite.com>
|
||||||
|
|
||||||
* choosesyntax.c (exec_edit_syntax_dialog): Not just mark for
|
* choosesyntax.c (exec_edit_syntax_dialog): Not just mark for
|
||||||
|
@ -2031,9 +2031,10 @@ void edit_search_cmd (WEdit * edit, int again)
|
|||||||
|
|
||||||
if (!edit) {
|
if (!edit) {
|
||||||
g_free (old);
|
g_free (old);
|
||||||
old = 0;
|
old = NULL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
exp = old ? old : exp;
|
exp = old ? old : exp;
|
||||||
if (again) { /*ctrl-hotkey for search again. */
|
if (again) { /*ctrl-hotkey for search again. */
|
||||||
if (!old)
|
if (!old)
|
||||||
@ -2392,10 +2393,9 @@ int edit_sort_cmd (WEdit * edit)
|
|||||||
}
|
}
|
||||||
edit_save_block (edit, catstrs (home_dir, BLOCK_FILE, (char *) NULL), start_mark, end_mark);
|
edit_save_block (edit, catstrs (home_dir, BLOCK_FILE, (char *) NULL), start_mark, end_mark);
|
||||||
|
|
||||||
exp = old ? old : "";
|
|
||||||
|
|
||||||
exp = input_dialog (_(" Run Sort "),
|
exp = input_dialog (_(" Run Sort "),
|
||||||
_(" Enter sort options (see manpage) separated by whitespace: "), exp);
|
_(" Enter sort options (see manpage) separated by whitespace: "),
|
||||||
|
(old != NULL) ? old : "");
|
||||||
|
|
||||||
if (!exp)
|
if (!exp)
|
||||||
return 1;
|
return 1;
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user