diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs index 23e483433f..cc62eca1df 100644 --- a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs +++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs @@ -307,11 +307,11 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard if (text == "") { - var emptyWidth = paint.MeasureText(" ", ref bounds); + paint.MeasureText(" ", ref bounds); } else { - var width = paint.MeasureText(text, ref bounds); + paint.MeasureText(text, ref bounds); } return bounds; @@ -323,11 +323,11 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard if (text == "") { - var emptyWidth = paint.MeasureText(" ", ref bounds); + paint.MeasureText(" ", ref bounds); } else { - var width = paint.MeasureText(text, ref bounds); + paint.MeasureText(text, ref bounds); } return bounds;