mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-28 11:10:23 +12:00
Removed prepended path separator from root folder in Directory Indexer module.
This commit is contained in:
parent
b24065d800
commit
8824835cff
|
@ -54,7 +54,7 @@ public override string Index(string folderPath)
|
|||
sbHtmlIndex.AppendLine(HtmlHelper.StartTag("body"));
|
||||
|
||||
folderPath = Path.GetFullPath(folderPath).TrimEnd('\\');
|
||||
prePathTrim = folderPath.LastIndexOf(@"\");
|
||||
prePathTrim = folderPath.LastIndexOf(@"\") + 1;
|
||||
|
||||
FolderInfo folderInfo = GetFolderInfo(folderPath);
|
||||
folderInfo.Update();
|
||||
|
|
Loading…
Reference in a new issue