aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-08-21 14:11:18 +0100
committergingerBill <bill@gingerbill.org>2018-08-21 14:11:18 +0100
commitcbc6c2666bc3e88a29745a214456618262b09971 (patch)
tree67001d40e929feeb81e4134c1d43bd69c62f17fc /src/types.cpp
parenta4d0ac1802823b2876cfa2b523bf588b58739d60 (diff)
Improve proc group scoring algorithm
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 92dd9d37e..4b3ce2edd 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -2554,7 +2554,7 @@ gbString write_type_to_string(gbString str, Type *type) {
}
if (var->flags&EntityFlag_Ellipsis) {
Type *slice = base_type(var->type);
- str = gb_string_appendc(str, "...");
+ str = gb_string_appendc(str, "..");
GB_ASSERT(var->type->kind == Type_Slice);
str = write_type_to_string(str, slice->Slice.elem);
} else {