Fix wrong possessable name determination
This commit is contained in:
		
							parent
							
								
									075a5d7ba1
								
							
						
					
					
						commit
						4b3bd49242
					
				@ -314,7 +314,7 @@ namespace Passer {
 | 
				
			|||||||
                    string possessableName = possessablePath;
 | 
					                    string possessableName = possessablePath;
 | 
				
			||||||
                    int lastSlashIx = possessablePath.LastIndexOf('/');
 | 
					                    int lastSlashIx = possessablePath.LastIndexOf('/');
 | 
				
			||||||
                    if (lastSlashIx >= 0)
 | 
					                    if (lastSlashIx >= 0)
 | 
				
			||||||
                        possessableName = possessablePath.Substring(+1);
 | 
					                        possessableName = possessablePath.Substring(lastSlashIx + 1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    possessableName = possessableName.ToLower();
 | 
					                    possessableName = possessableName.ToLower();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user