diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-15 11:33:41 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-15 11:33:41 -0800 |
commit | a92d9d442b5b4f8b3de0c2eef3a9d7a498a36aa8 (patch) | |
tree | e9043ac159a86c6c2da3e77149a309195fef43ff /common.cpp | |
parent | e2ff77b4ecd4a5555043c163df21906693a3b9cf (diff) |
Initial work towards making autosuggestion smarter by recognizing paths
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1506,7 +1506,7 @@ bool unescape_string(wcstring &str, int escape_special) { bool success = false; wchar_t *result = unescape(str.c_str(), escape_special); - if ( result) { + if (result) { str.replace(str.begin(), str.end(), result); free(result); success = true; |