summaryrefslogtreecommitdiff
path: root/rld.h
diff options
context:
space:
mode:
Diffstat (limited to 'rld.h')
-rw-r--r--rld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rld.h b/rld.h
index e1cfbf5..70a6913 100644
--- a/rld.h
+++ b/rld.h
@@ -175,7 +175,7 @@ namespace rld
{
if (e.front () != e.back ())
throw rld::error ("invalid quoting", "string: " + s);
- e = e.substr (1, e.length () - 1);
+ e = e.substr (1, e.length () - (1 + 1));
}
}
if (empty || !e.empty ())