diff options
Diffstat (limited to 'lib/sh/shquote.c')
-rw-r--r-- | lib/sh/shquote.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sh/shquote.c b/lib/sh/shquote.c index 680f84ed..26fe0185 100644 --- a/lib/sh/shquote.c +++ b/lib/sh/shquote.c @@ -311,12 +311,13 @@ sh_backslash_quote (string, table, flags) return (result); } -#if defined (PROMPT_STRING_DECODE) +#if defined (PROMPT_STRING_DECODE) || defined (TRANSLATABLE_STRINGS) /* Quote characters that get special treatment when in double quotes in STRING - using backslashes. Return a new string. */ + using backslashes. FLAGS is reserved for future use. Return a new string. */ char * -sh_backslash_quote_for_double_quotes (string) +sh_backslash_quote_for_double_quotes (string, flags) char *string; + int flags; { unsigned char c; char *result, *r, *s, *send; |