diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-11-19 15:55:35 +0000 |
---|---|---|
committer | Michael Drake <mdrake.unique@gmail.com> | 2022-12-14 22:53:35 +0000 |
commit | 6da16e564820e2a958a7266f05fb98b4f252dc49 (patch) | |
tree | 85ebe4a1ab4f9d77894aa9a75b3ee70494cbd1b2 /content/handlers | |
parent | fbb39f0d49f2606400dcf6bb2fb1d5c56903ddf9 (diff) | |
download | netsurf-6da16e564820e2a958a7266f05fb98b4f252dc49.tar.gz netsurf-6da16e564820e2a958a7266f05fb98b4f252dc49.tar.bz2 |
html: layout: flex: Return NULL for pointer
Diffstat (limited to 'content/handlers')
-rw-r--r-- | content/handlers/html/layout_flex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/layout_flex.c b/content/handlers/html/layout_flex.c index feaa4b346..a14952822 100644 --- a/content/handlers/html/layout_flex.c +++ b/content/handlers/html/layout_flex.c @@ -326,7 +326,7 @@ static struct flex_line_data *layout_flex__build_line(struct flex_ctx *ctx, int used_main = 0; if (!layout_flex_ctx__ensure_line(ctx)) { - return 0; + return NULL; } line = &ctx->line.data[ctx->line.count]; |