utils/HtmlOutputDev.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 491109edbe827860e764b5fcb67456867923858d
Author: Haruyuki Kawabe <[EMAIL PROTECTED]>
Date: Wed Sep 10 23:00:32 2008 +0200
Generate the outline file at the same place the other files are generated
Fixes bug 17504
diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index eb9dc72..54f62e7 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -20,6 +20,7 @@
// Copyright (C) 2005-2008 Albert Astals Cid <[EMAIL PROTECTED]>
// Copyright (C) 2008 Kjartan Maraas <[EMAIL PROTECTED]>
// Copyright (C) 2008 Boris Toloknov <[EMAIL PROTECTED]>
+// Copyright (C) 2008 Haruyuki Kawabe <[EMAIL PROTECTED]>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
@@ -1473,7 +1474,7 @@ GBool HtmlOutputDev::dumpDocOutline(Catalog* catalog)
}
else
{
- GooString *str = basename(Docname);
+ GooString *str = Docname->copy();
str->append("-outline.html");
output = fopen(str->getCString(), "w");
if (output == NULL)
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler