Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 3685317

Browse files
committed
Fix VSLANG handling typo
1 parent 85573db commit 3685317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotnet/UILanguageOverride.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private static CultureInfo GetOverriddenUILanguage()
5151
// VSLANG=<lcid> is set by VS and we respect that as well so that we will respect the VS
5252
// language preference if we're invoked by VS.
5353
string vsLang = Environment.GetEnvironmentVariable(VSLANG);
54-
if (vsLang != null && int.TryParse(VSLANG, out int vsLcid))
54+
if (vsLang != null && int.TryParse(vsLang, out int vsLcid))
5555
{
5656
try
5757
{

0 commit comments

Comments
 (0)