diff options
author | pommicket <pommicket@gmail.com> | 2023-09-13 23:11:15 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-09-14 10:47:51 -0400 |
commit | 52015e0c9a4e3bc8dc558929a85461f079dda303 (patch) | |
tree | bfdf9bda87934dbd96d4da1e87454d22184545b7 /buffer.c | |
parent | e33379bab95031555ed5459ee8a73672f24fd0a0 (diff) |
batch write requests, fix tiny memory leak in ide-autocomplete
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3471,7 +3471,7 @@ void buffer_render(TextBuffer *buffer, Rect r) { line_number_color = alt_line_number_color; } Rect rect = rect4(x1, y, diagnostic_x2, y + char_height); - buffer_clip_rect(buffer, &rect); + rect_clip_to_rect(&rect, rect4(x1, y1, x2, y2)); gl_geometry_rect( rect, color & 0xffffff7f |