Ignore:
Timestamp:
Jun 23, 2009, 8:38:28 PM (16 years ago)
Author:
RBRi
Message:

logging via pmprintf added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/newview_dll/newview.c

    r362 r363  
    55#include <stdio.h>
    66#include <stdlib.h>
     7
     8
     9#define  _PMPRINTF_
     10#include <PMPRINTF.H>
     11
     12
     13#define VERSION "0.9.1"
     14
     15
    716
    817/********************************************************************
     
    6170 *
    6271 */
    63 char *decode_string(unsigned char *buffer, unsigned int code, BOOL* error)
    64 {
     72char *decode_string(unsigned char *buffer, unsigned int code, BOOL* error) {
    6573    int i = 0;
    6674    *error = FALSE;
     
    8492 *      stream.
    8593 */
    86 unsigned input_code(PBYTE *ppbInput, unsigned bytes_to_read)
    87 {
     94unsigned input_code(PBYTE *ppbInput, unsigned bytes_to_read) {
    8895    unsigned int return_value;
    8996    static unsigned long bytes_out = 0;
     
    137144    *pBytesOut = 0;
    138145
     146    _Pmpf(("LZWDecompressBlock"));
     147
    139148    while ((new_code = input_code(&pbInput, number_bytes)) != TERMINATOR) {
    140149        if (clear_flag) {
Note: See TracChangeset for help on using the changeset viewer.