* user.c (expand_format): Fixed processing of "%s".
Closes http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=15486
Этот коммит содержится в:
родитель
546436a9f2
Коммит
759c5aee8f
@ -1,3 +1,7 @@
|
|||||||
|
2000-10-04 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* user.c (expand_format): Fixed processing of "%s".
|
||||||
|
|
||||||
2000-09-30 Pavel Roskin <proski@gnu.org>
|
2000-09-30 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* Makefile.in: Added an explicit rule for man2hlp.
|
* Makefile.in: Added an explicit rule for man2hlp.
|
||||||
|
@ -208,8 +208,6 @@ char *expand_format (char c, int quote)
|
|||||||
case 'b': return strip_ext((*quote_func) (fname, 0));
|
case 'b': return strip_ext((*quote_func) (fname, 0));
|
||||||
case 'x': return (*quote_func) (extension(fname), 0);
|
case 'x': return (*quote_func) (extension(fname), 0);
|
||||||
case 'd': return (*quote_func) (panel->cwd, 0);
|
case 'd': return (*quote_func) (panel->cwd, 0);
|
||||||
case 's': if (!panel->marked)
|
|
||||||
return (*quote_func) (fname, 0);
|
|
||||||
case 'i': /* indent equal number cursor position in line */
|
case 'i': /* indent equal number cursor position in line */
|
||||||
if (s_editwidget)
|
if (s_editwidget)
|
||||||
return g_strnfill (s_editwidget->curs_col, ' ');
|
return g_strnfill (s_editwidget->curs_col, ' ');
|
||||||
@ -229,6 +227,8 @@ char *expand_format (char c, int quote)
|
|||||||
if (menu)
|
if (menu)
|
||||||
return (*quote_func) (menu, 0);
|
return (*quote_func) (menu, 0);
|
||||||
break;
|
break;
|
||||||
|
case 's': if (!panel->marked)
|
||||||
|
return (*quote_func) (fname, 0);
|
||||||
|
|
||||||
/* Fall through */
|
/* Fall through */
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user