Browse Source

Combine Path.Combine calls, remove local

pull/2936/head
Christoph Wille 2 years ago
parent
commit
f62629e9f9
  1. 5
      ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs

5
ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs

@ -149,10 +149,7 @@ namespace ICSharpCode.Decompiler.Documentation @@ -149,10 +149,7 @@ namespace ICSharpCode.Decompiler.Documentation
private static string GetLocalizedName(string fileName, string language)
{
string localizedXmlDocFile = Path.GetDirectoryName(fileName);
localizedXmlDocFile = Path.Combine(localizedXmlDocFile, language);
localizedXmlDocFile = Path.Combine(localizedXmlDocFile, Path.GetFileName(fileName));
return localizedXmlDocFile;
return Path.Combine(Path.GetDirectoryName(fileName), language, Path.GetFileName(fileName));
}
}
}

Loading…
Cancel
Save