aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-15 11:33:41 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-15 11:33:41 -0800
commita92d9d442b5b4f8b3de0c2eef3a9d7a498a36aa8 (patch)
treee9043ac159a86c6c2da3e77149a309195fef43ff /common.cpp
parente2ff77b4ecd4a5555043c163df21906693a3b9cf (diff)
Initial work towards making autosuggestion smarter by recognizing paths
Diffstat (limited to 'common.cpp')
-rw-r--r--common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.cpp b/common.cpp
index 47118cf0..33bbc8ac 100644
--- a/common.cpp
+++ b/common.cpp
@@ -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;