core: rename write_string functions to write_cstr

This commit is contained in:
2026-04-20 21:41:38 +01:00
parent 709d11331c
commit 5ab348fd30
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -756,18 +756,18 @@ static void get_error_id(
fx_stringstream *id = fx_stringstream_create_with_buffer(out, max);
if (vendor_name) {
fx_stream_write_string(id, vendor_name, NULL);
fx_stream_write_cstr(id, vendor_name, NULL);
}
if (error_name) {
if (vendor_name) {
fx_stream_write_string(id, ".", NULL);
fx_stream_write_cstr(id, ".", NULL);
}
fx_stream_write_string(id, error_name, NULL);
fx_stream_write_cstr(id, error_name, NULL);
} else {
if (vendor_name) {
fx_stream_write_string(id, "#", NULL);
fx_stream_write_cstr(id, "#", NULL);
}
fx_stream_write_fmt(id, NULL, "%ld", code);