diff options
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index eb5dc859d..10c656301 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -691,7 +691,7 @@ string flExtension(string File) if (Res == string::npos) return File; Res++; - return string(File,Res,Res - File.length()); + return string(File,Res); } /*}}}*/ // flNoLink - If file is a symlink then deref it /*{{{*/ |