@@ -502,7 +502,7 @@ static void render(Context &ctx, Widget *currentWidget) {
502502 }
503503 if (!currentWidget->mText .empty ()) {
504504 Color4 fg = ctx.mStyle .mTextColor , bg = ctx.mStyle .mBg ;
505- Renderer::drawText (ctx, currentWidget->mText .c_str (), ctx.mSDLContext . mDefaultFont ,
505+ Renderer::drawText (ctx, currentWidget->mText .c_str (), ctx.mDefaultFont ,
506506 currentWidget->mRect , fg, bg, currentWidget->mAlignment );
507507 }
508508 }
@@ -513,7 +513,7 @@ static void render(Context &ctx, Widget *currentWidget) {
513513 Renderer::drawRect (ctx, r.top .x , r.top .y , r.width , r.height , false , ctx.mStyle .mFg );
514514 if (!currentWidget->mText .empty ()) {
515515 Color4 fg = ctx.mStyle .mTextColor , bg = ctx.mStyle .mBg ;
516- Renderer::drawText (ctx, currentWidget->mText .c_str (), ctx.mSDLContext . mDefaultFont ,
516+ Renderer::drawText (ctx, currentWidget->mText .c_str (), ctx.mDefaultFont ,
517517 currentWidget->mRect , fg, bg, currentWidget->mAlignment );
518518 }
519519 }
@@ -523,7 +523,7 @@ static void render(Context &ctx, Widget *currentWidget) {
523523 {
524524 if (!currentWidget->mText .empty ()) {
525525 Color4 fg = ctx.mStyle .mTextColor , bg = ctx.mStyle .mBg ;
526- Renderer::drawText (ctx, currentWidget->mText .c_str (), ctx.mSDLContext . mDefaultFont ,
526+ Renderer::drawText (ctx, currentWidget->mText .c_str (), ctx.mDefaultFont ,
527527 currentWidget->mRect , fg, bg, currentWidget->mAlignment );
528528 }
529529 }
0 commit comments