Fix for crash when setting tmux pane title

https://github.com/fish-shell/fish-shell/issues/846
This commit is contained in:
ridiculousfish
2013-06-02 01:50:22 -07:00
parent 464187491f
commit 220e1e8fb5
2 changed files with 1 additions and 2 deletions

View File

@@ -1739,7 +1739,6 @@ bool string_prefixes_string(const wchar_t *proposed_prefix, const wcstring &valu
return prefix_size <= value.size() && value.compare(0, prefix_size, proposed_prefix) == 0;
}
bool string_prefixes_string(const wcstring &proposed_prefix, const wcstring &value)
{
size_t prefix_size = proposed_prefix.size();