summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc
index e495a4c45..5264f4c1f 100644
--- a/ftparchive/writer.cc
+++ b/ftparchive/writer.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: writer.cc,v 1.11 2004/01/02 21:48:13 mdz Exp $
+// $Id: writer.cc,v 1.12 2004/01/02 21:55:09 mdz Exp $
/* ######################################################################
Writer
@@ -852,7 +852,7 @@ bool ReleaseWriter::DoPackage(string FileName)
{
NewFileName = string(FileName.begin() + DirStrip.length(),FileName.end());
while (NewFileName[0] == '/')
- NewFileName = string(FileName.begin() + 1,FileName.end());
+ NewFileName = string(NewFileName.begin() + 1,NewFileName.end());
}
else
NewFileName = FileName;