mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-10-30 18:01:53 +01:00 
			
		
		
		
	FileUtil: inline ChompPathDelim to LazFileUtils.ChompPathDelim.
git-svn-id: trunk@41324 -
This commit is contained in:
		
							parent
							
								
									348410562f
								
							
						
					
					
						commit
						a9b26cc418
					
				| @ -379,10 +379,7 @@ end; | |||||||
| 
 | 
 | ||||||
| function ChompPathDelim(const Path: string): string; | function ChompPathDelim(const Path: string): string; | ||||||
| begin | begin | ||||||
|   if (Path<>'') and (Path[length(Path)]=PathDelim) then |   Result := LazFileUtils.ChompPathDelim(Path); | ||||||
|     Result:=LeftStr(Path,length(Path)-1) |  | ||||||
|   else |  | ||||||
|     Result:=Path; |  | ||||||
| end; | end; | ||||||
| 
 | 
 | ||||||
| function FileIsText(const AFilename: string): boolean; | function FileIsText(const AFilename: string): boolean; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 bart
						bart