File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
External/Plugins/ASCompletion/Context Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1521,6 +1521,7 @@ static public string NormalizeFilename(string path)
15211521 {
15221522 if ( string . IsNullOrEmpty ( path ) ) return "" ;
15231523 path = path . Trim ( ) ;
1524+ if ( path . Length == 0 ) return path ;
15241525 if ( doPathNormalization )
15251526 path = path . Replace ( dirAltSeparator , dirSeparator ) ;
15261527 path = path . Replace ( dirSeparator + dirSeparator , dirSeparator ) ;
@@ -1530,6 +1531,7 @@ static public string NormalizePath(string path)
15301531 {
15311532 if ( string . IsNullOrEmpty ( path ) ) return "" ;
15321533 path = path . Trim ( ) ;
1534+ if ( path . Length == 0 ) return path ;
15331535 if ( doPathNormalization )
15341536 path = path . Replace ( dirAltSeparator , dirSeparator ) ;
15351537 if ( ! path . EndsWith ( dirSeparator ) )
You can’t perform that action at this time.
0 commit comments