mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Fixed additional path separator bug in Directory Indexer.
This commit is contained in:
parent
999b09dbf0
commit
b24065d800
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ public override string Index(string folderPath)
|
|||
sbHtmlIndex.AppendLine(HtmlHelper.EndTag("head"));
|
||||
sbHtmlIndex.AppendLine(HtmlHelper.StartTag("body"));
|
||||
|
||||
folderPath = Path.GetFullPath(folderPath).TrimEnd('\\');
|
||||
prePathTrim = folderPath.LastIndexOf(@"\");
|
||||
|
||||
FolderInfo folderInfo = GetFolderInfo(folderPath);
|
||||
|
|
Loading…
Reference in a new issue