mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
Removing some unnecessary calls to c_str(), and added str2wcstring(std::string) in common.cpp.
This commit is contained in:
@@ -713,7 +713,7 @@ static void exec_prompt()
|
||||
{
|
||||
proc_push_interactive( 0 );
|
||||
|
||||
if( exec_subshell( data->prompt.c_str(), prompt_list ) == -1 )
|
||||
if( exec_subshell( data->prompt, prompt_list ) == -1 )
|
||||
{
|
||||
/* If executing the prompt fails, make sure we at least don't print any junk */
|
||||
prompt_list.clear();
|
||||
|
||||
Reference in New Issue
Block a user