Newer
Older
Import / applications / MakePDF / 3rdParty / libharu / pr-patches / 0001-silly-typo.patch
From 27a76a9c59c6848146f3bf1da3ca7ee40933f2d1 Mon Sep 17 00:00:00 2001
From: kubivan <ivan.kubariev@gmail.com>
Date: Mon, 23 Mar 2015 20:51:47 +0200
Subject: [PATCH] silly typo :)

The absence of the comma concatenates "Projection" and "Widget" to "ProjectionWidget". As result when you create measurement with Projection Annotation,  Adobe reader crashes on right click on the created measurement.
---
 src/hpdf_annotation.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/hpdf_annotation.c b/src/hpdf_annotation.c
index 4bb9e13..c4705e1 100644
--- a/src/hpdf_annotation.c
+++ b/src/hpdf_annotation.c
@@ -37,9 +37,9 @@ static const char * const HPDF_ANNOT_TYPE_NAMES[] = {
                                         "Popup",
                                         "3D",
                                         "Squiggly",
-										"Line",
-										"Projection"
-										"Widget"
+					"Line",
+					"Projection",
+					"Widget"
                                         };
 
 static const char * const HPDF_ANNOT_ICON_NAMES_NAMES[] = {
-- 
2.21.1 (Apple Git-122.3)