From a24f1136d0c6c1174ee586cd44ecbc7ea2e45dda Mon Sep 17 00:00:00 2001 From: Said Ryan Ackley Date: Thu, 8 Jan 2004 11:09:37 +0000 Subject: [PATCH] fixed a simple bug (25781) git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353484 13f79535-47bb-0310-9956-ffa450edef68 --- src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java index f83b810c93..11bb206a11 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java @@ -79,7 +79,7 @@ public class SprmUtils public static int addSprm(short instruction, int param, byte[] varParam, List list) { - int type = instruction & 0xe000; + int type = (instruction & 0xe000) >> 13; byte[] sprm = null; switch(type) -- 2.39.5