mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 07:21:14 -03:00
[jobs.cpp] added const to escaped cmd string
This commit is contained in:
@@ -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(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(L"\n");
|
||||
|
||||
Reference in New Issue
Block a user