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:
@@ -338,10 +338,9 @@ static wcstring make_path(const wcstring &base_dir, const wcstring &name) {
|
||||
does not perform any caching, it directly calls the mimedb command
|
||||
to do a lookup.
|
||||
*/
|
||||
static wcstring complete_get_desc_suffix_internal( const wchar_t *suff_orig )
|
||||
static wcstring complete_get_desc_suffix_internal( const wcstring &suff )
|
||||
{
|
||||
|
||||
wcstring suff = suff_orig;
|
||||
wcstring cmd = wcstring(SUFFIX_CMD_STR) + suff;
|
||||
|
||||
wcstring_list_t lst;
|
||||
|
||||
Reference in New Issue
Block a user