Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ced1d96

Browse files
committed
Merge pull request #159 from abarth/fix_build
Fix Release builds
2 parents 7c98e21 + b6ddf91 commit ced1d96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sky/engine/core/rendering/InlineTextBox.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ struct CurveAlongY {
805805
* was doing everything along the X axis; CurveAlongY just flips the
806806
* coordinates around.
807807
*/
808-
template <class Curve> static void strokeWavyTextDecorationInternal(GraphicsContext* context, FloatPoint p1, FloatPoint p2, float strokeThickness)
808+
template <class Curve> static void strokeWavyTextDecorationInternal(GraphicsContext* context, FloatPoint p1, FloatPoint p2, float strokeThickness)
809809
{
810810
ASSERT(Curve::y(p1) == Curve::y(p2)); // verify that this is indeed axis-aligned
811811

@@ -1054,8 +1054,8 @@ void InlineTextBox::paintCompositionBackgrounds(GraphicsContext* pt, const Float
10541054
}
10551055

10561056
} else {
1057-
unsigned start; // TODO(ianh): if we expose this function, provide a way to let authors set this
1058-
unsigned end; // TODO(ianh): if we expose this function, provide a way to let authors set this
1057+
unsigned start = 0; // TODO(ianh): if we expose this function, provide a way to let authors set this
1058+
unsigned end = 0; // TODO(ianh): if we expose this function, provide a way to let authors set this
10591059
paintSingleCompositionBackgroundRun(pt, boxOrigin, style, font, RenderTheme::theme().platformDefaultCompositionBackgroundColor(), start, end);
10601060
}
10611061
}

0 commit comments

Comments
 (0)