Fix the build (oops)

This commit is contained in:
ridiculousfish 2013-03-29 18:05:01 -07:00
parent f7082ee034
commit e4329f3ae7

View File

@ -103,7 +103,7 @@ void kill_add(const wcstring &str)
const env_var_t disp_wstr = env_get_string(L"DISPLAY"); const env_var_t disp_wstr = env_get_string(L"DISPLAY");
if (!disp_wstr.missing()) if (!disp_wstr.missing())
{ {
escaped_str = escape_string(str, ESCAPE_ALL); escaped_str = escape(str.c_str(), ESCAPE_ALL);
cmd.assign(L"echo -n "); cmd.assign(L"echo -n ");
cmd.append(escaped_str); cmd.append(escaped_str);
cmd.append(L" | xsel -i -b"); cmd.append(L" | xsel -i -b");