Skip to content

Commit c0d36a3

Browse files
committed
Use directory name as a constant
1 parent 2ea829e commit c0d36a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WinNUT_V2/WinNUT-Client_Common/WinNUT_Globals.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Public Module WinNUT_Globals
5454
''' <param name="requestedDir">The requested directory, with <see cref="ProgramName"/> appended to it.</param>
5555
''' <returns>The best possible option available as a writable data directory.</returns>
5656
Private Function GetAppDirectory(requestedDir As String) As String
57-
requestedDir = Path.Combine(requestedDir, ProgramName)
57+
requestedDir = Path.Combine(requestedDir, DATA_DIRECTORY_NAME)
5858

5959
Try
6060
Directory.CreateDirectory(requestedDir)

0 commit comments

Comments
 (0)