[poppler] 3 commits - poppler/Gfx.cc qt4/src

Brad Hards bradh at frogmouth.net
Wed Nov 28 00:48:37 PST 2007


Albert: Can you please merge this patch to the 0.6 tree?

Derek: Probably applicable to xpdf too. 

Brad
> commit 02c7ea6e1fd3e225de1eda231813f4db0ffb9fdb
> Author: Brad Hards <bradh at kde.org>
> Date:   Wed Nov 28 19:41:54 2007 +1100
>
>     Fix off-by-one in printCommands path.
>
> diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
> index eb0012e..163b340 100644
> --- a/poppler/Gfx.cc
> +++ b/poppler/Gfx.cc
> @@ -4023,7 +4023,7 @@ void Gfx::opBeginMarkedContent(Object args[], int
> numArgs) { if (printCommands) {
>      printf("  marked content: %s ", args[0].getName());
>      if (numArgs == 2)
> -      args[2].print(stdout);
> +      args[1].print(stdout);
>      printf("\n");
>      fflush(stdout);
>    }
> @@ -4043,7 +4043,7 @@ void Gfx::opMarkPoint(Object args[], int numArgs) {
>    if (printCommands) {
>      printf("  mark point: %s ", args[0].getName());
>      if (numArgs == 2)
> -      args[2].print(stdout);
> +      args[1].print(stdout);
>      printf("\n");
>      fflush(stdout);
>    }
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list