fix format

This commit is contained in:
Emmanuel Hansen 2024-07-15 10:51:38 +00:00
commit 580136baf3

View file

@ -307,11 +307,11 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
if (text == "") if (text == "")
{ {
var emptyWidth = paint.MeasureText(" ", ref bounds); paint.MeasureText(" ", ref bounds);
} }
else else
{ {
var width = paint.MeasureText(text, ref bounds); paint.MeasureText(text, ref bounds);
} }
return bounds; return bounds;
@ -323,11 +323,11 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
if (text == "") if (text == "")
{ {
var emptyWidth = paint.MeasureText(" ", ref bounds); paint.MeasureText(" ", ref bounds);
} }
else else
{ {
var width = paint.MeasureText(text, ref bounds); paint.MeasureText(text, ref bounds);
} }
return bounds; return bounds;