Commit 9f136d93 authored by Michael Meeks's avatar Michael Meeks
Browse files

clean headers.

parent 560fc5b7
......@@ -2,6 +2,9 @@
* ole.c (decompress_vba): an idea.
(dump_vba_module): + hooks.
1999-09-25 Michael Meeks <michael@nuclecu.unam.mx>
* ole.c (decompress_vba): remove unused + clean headers.
1999-09-25 Jody Goldberg <jgoldberg@home.com>
......
......@@ -15,7 +15,6 @@
#include "ms-ole.h"
#include "ms-ole-summary.h"
#include "ms-biff.h"
#include "biff-types.h"
#define BIFF_TYPES_FILE "biff-types.h"
......@@ -664,7 +663,7 @@ decompress_vba (guint8 *data, guint32 len)
#define BUF_BITS 6
#define BUF_MASK 0x3f
int shift, i;
int shift;
guint8 buffer[BUF_SIZE];
guint8 *ptr;
guint32 pos;
......@@ -683,7 +682,7 @@ decompress_vba (guint8 *data, guint32 len)
if (hdr & shift) {
guint16 dt = MS_OLE_GET_GUINT16 (ptr);
int lp, i;
printf ("|match 0x%x = %d, %d|\n", dt, (dt >> 9) + 1,
printf ("|match 0x%x = %d, %d|\n", dt, ((dt >> 9)&0xf) + 1,
(dt & BUF_MASK));
/* Perhaps dt & SHIFT = dist. to end of run */
for (i = 16; i >= 0; i--) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment