poppler/TextOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2aedeedf9ef2e2d3eb17bc36d728e68c2f7af762 Author: Hib Eris <[email protected]> Date: Sat Mar 27 14:38:27 2010 +0000 Correctly initialize actualText diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc index 3b16622..5b6f39b 100644 --- a/poppler/TextOutputDev.cc +++ b/poppler/TextOutputDev.cc @@ -19,7 +19,7 @@ // Copyright (C) 2008 Koji Otani <[email protected]> // Copyright (C) 2008, 2010 Albert Astals Cid <[email protected]> // Copyright (C) 2008 Pino Toscano <[email protected]> -// Copyright (C) 2008 Hib Eris <[email protected]> +// Copyright (C) 2008, 2010 Hib Eris <[email protected]> // Copyright (C) 2009 Ross Moore <[email protected]> // Copyright (C) 2009 Kovid Goyal <[email protected]> // @@ -4641,6 +4641,7 @@ TextOutputDev::TextOutputDev(char *fileName, GBool physLayoutA, } else { error(-1, "Couldn't open text file '%s'", fileName); ok = gFalse; + actualText = NULL; return; } outputFunc = &TextOutputDev_outputToFile; _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
