diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-03-12 16:46:04 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-03-12 16:46:04 +0100 |
commit | 3f99c2de245e950b8004fde023e45a0dd6389381 (patch) | |
tree | f7a9586e707ea0770ecae0b7e67ca7b78a5630c8 /Process.c | |
parent | bea7f8e7afaab973d8086cc4b7d7978f06582f86 (diff) |
Process: do not access RichString internals
Use wrapper macro to encapsulate the RichString structure
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -426,7 +426,7 @@ void Process_display(const Object* cast, RichString* out) { } } - assert(out->chlen > 0); + assert(RichString_size(out) > 0); } void Process_done(Process* this) { |