aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_indent.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-11-24 22:57:49 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-11-24 22:58:39 -0800
commit9f6223311e7ae6a9d6d21e33bf0fa67822da6fb6 (patch)
tree401878fd6bfdb121ec41e977af1defe6a001f6f0 /fish_indent.cpp
parent90b78326d393d2490e43491a93d8db4b449b972e (diff)
Large cleanup and refactoring of unescape() function.
Diffstat (limited to 'fish_indent.cpp')
-rw-r--r--fish_indent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fish_indent.cpp b/fish_indent.cpp
index 3b54d008..c4d6d81c 100644
--- a/fish_indent.cpp
+++ b/fish_indent.cpp
@@ -106,8 +106,8 @@ static int indent(wcstring &out, const wcstring &in, int flags)
int next_indent = indent;
is_command = 0;
- wcstring unesc = last;
- unescape_string(unesc, UNESCAPE_SPECIAL);
+ wcstring unesc;
+ unescape_string(last, &unesc, UNESCAPE_SPECIAL);
if (parser_keywords_is_block(unesc))
{