Fix shadowing bug
This commit is contained in:
@@ -77,7 +77,7 @@ Layout CalculateLayout(Arena *arena, Buffer &buffer, Font font, float font_size,
|
||||
{
|
||||
LayoutRow *row = NULL;
|
||||
if (last_range->min == last_range->max) {
|
||||
LayoutRow *row = layout.rows.alloc();
|
||||
row = layout.rows.alloc();
|
||||
row->columns.allocator = *arena;
|
||||
text_offset_x = 0;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user