Browse Source

Combine Path.Combine calls, remove local

pull/2936/head
Christoph Wille 3 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
private static string GetLocalizedName(string fileName, string language) private static string GetLocalizedName(string fileName, string language)
{ {
string localizedXmlDocFile = Path.GetDirectoryName(fileName); return Path.Combine(Path.GetDirectoryName(fileName), language, Path.GetFileName(fileName));
localizedXmlDocFile = Path.Combine(localizedXmlDocFile, language);
localizedXmlDocFile = Path.Combine(localizedXmlDocFile, Path.GetFileName(fileName));
return localizedXmlDocFile;
} }
} }
} }

Loading…
Cancel
Save