diff options
Diffstat (limited to 'src/expand/format_args.cpp')
-rw-r--r-- | src/expand/format_args.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expand/format_args.cpp b/src/expand/format_args.cpp index 3d0eb9af..775326cd 100644 --- a/src/expand/format_args.cpp +++ b/src/expand/format_args.cpp @@ -139,6 +139,11 @@ namespace { if( *s != '{' ) { if( *s == '}' ) { + s ++; + if( *s != '}' ) { + // TODO: Error? Warning? + s --; // Step backwards, just in case + } // Doesn't need escaping cur_literal += '}'; } |