diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_list.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_list.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sinksh/syntax_modules/sink_list.cpp b/sinksh/syntax_modules/sink_list.cpp index b002438..a56740d 100644 --- a/sinksh/syntax_modules/sink_list.cpp +++ b/sinksh/syntax_modules/sink_list.cpp | |||
@@ -42,6 +42,9 @@ namespace SinkList | |||
42 | static QByteArray compressId(bool compress, const QByteArray &id) | 42 | static QByteArray compressId(bool compress, const QByteArray &id) |
43 | { | 43 | { |
44 | if (!compress) { | 44 | if (!compress) { |
45 | if (id.startsWith('{')) { | ||
46 | return id.mid(1, id.length() - 2); | ||
47 | } | ||
45 | return id; | 48 | return id; |
46 | } | 49 | } |
47 | auto compactId = id.mid(1, id.length() - 2).split('-'); | 50 | auto compactId = id.mid(1, id.length() - 2).split('-'); |