You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by sa...@apache.org on 2004/01/08 12:09:37 UTC
cvs commit: jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/sprm SprmUtils.java
sackley 2004/01/08 03:09:37
Modified: src/scratchpad/src/org/apache/poi/hwpf/sprm SprmUtils.java
Log:
fixed a simple bug
Revision Changes Path
1.3 +1 -1 jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java
Index: SprmUtils.java
===================================================================
RCS file: /home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SprmUtils.java 10 Nov 2003 11:52:35 -0000 1.2
+++ SprmUtils.java 8 Jan 2004 11:09:37 -0000 1.3
@@ -79,7 +79,7 @@
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org