File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
External/Plugins/ProjectManager/Controls Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -554,12 +554,13 @@ private void UpdateStatusBar()
554
554
string ext = ProjectExt ;
555
555
if ( ext != null )
556
556
{
557
+ char separator = Path . DirectorySeparatorChar ;
557
558
string name = nameTextBox . Text ;
558
559
status = " " + TextHelper . GetString ( "Info.WillCreate" ) + " " ;
559
- status += Path . Combine ( locationTextBox . Text . TrimEnd ( '\\ ' , '/' ) , name ) ;
560
- if ( createDirectoryBox . Checked ) status = Path . Combine ( status , name ) ;
560
+ status += locationTextBox . Text . TrimEnd ( '\\ ' , '/' ) + separator + name ;
561
+ if ( createDirectoryBox . Checked ) status += separator + name ;
561
562
status += ext ;
562
- status = status . Replace ( '\\ ' , Path . DirectorySeparatorChar ) . Replace ( '/' , Path . DirectorySeparatorChar ) ;
563
+ status = status . Replace ( '\\ ' , separator ) . Replace ( '/' , separator ) ;
563
564
}
564
565
statusBar . Text = status ;
565
566
}
You can’t perform that action at this time.
0 commit comments