Fix string_compare

This commit is contained in:
gingerBill committed 2020-11-17 12:19:28 +00:00
1 parent 6f71d1f2a9
commit fea8c63ab3
1 file changed
+1
+1
View File
@@ -164,6 +164,7 @@ int string_compare(String const &x, String const &y) {
return cast(int)x[offset] - cast(int)y[offset];
}
}
return cast(int)(x.len - y.len);
}
return 0;
}