diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-31 02:33:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-31 02:33:23 -0400 |
| commit | 54e65e2f1c944a861a823641ef1b8fe194c7b0d8 (patch) | |
| tree | 3ded7ce508fb94313974895ca8d75ec95e9fc3c8 /src/stdlib/c_strings.c | |
| parent | da94f2bc8ceadcec014d8e5b4819f96ab34fecfb (diff) | |
Fully move all pattern code into patterns.c
Diffstat (limited to 'src/stdlib/c_strings.c')
| -rw-r--r-- | src/stdlib/c_strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/c_strings.c b/src/stdlib/c_strings.c index 7987a234..9d0f2819 100644 --- a/src/stdlib/c_strings.c +++ b/src/stdlib/c_strings.c @@ -16,7 +16,7 @@ public Text_t CString$as_text(const void *c_string, bool colorize, const TypeInf (void)info; if (!c_string) return Text("CString"); Text_t text = Text$from_str(*(const char**)c_string); - return Text$concat(colorize ? Text("\x1b[34mCString\x1b[m(") : Text("CString("), Text$quoted(text, colorize), Text(")")); + return Text$concat(colorize ? Text("\x1b[34mCString\x1b[m(") : Text("CString("), Text$quoted(text, colorize, Text("\"")), Text(")")); } public Text_t CString$as_text_simple(const char *str) |
