mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
[jobs.cpp] added const to escaped cmd string
(cherry picked from commit 4a2c7e38d0
)
This commit is contained in:
parent
1ab24e4048
commit
51d5764fb2
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ static void builtin_jobs_print(const job_t *j, int mode, int header, io_streams_
|
||||||
out.append(j->is_stopped() ? _(L"stopped") : _(L"running"));
|
out.append(j->is_stopped() ? _(L"stopped") : _(L"running"));
|
||||||
out.append(L"\t");
|
out.append(L"\t");
|
||||||
|
|
||||||
wcstring cmd = escape_string(j->command(), ESCAPE_NO_PRINTABLES);
|
const wcstring cmd = escape_string(j->command(), ESCAPE_NO_PRINTABLES);
|
||||||
out.append(cmd);
|
out.append(cmd);
|
||||||
|
|
||||||
out.append(L"\n");
|
out.append(L"\n");
|
||||||
|
|
Loading…
Reference in a new issue