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;
|
LayoutRow *row = NULL;
|
||||||
if (last_range->min == last_range->max) {
|
if (last_range->min == last_range->max) {
|
||||||
LayoutRow *row = layout.rows.alloc();
|
row = layout.rows.alloc();
|
||||||
row->columns.allocator = *arena;
|
row->columns.allocator = *arena;
|
||||||
text_offset_x = 0;
|
text_offset_x = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user