Ignore:
Timestamp:
Apr 16, 2010, 1:51:22 PM (15 years ago)
Author:
pr
Message:

Fix variable init. bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/src/helpers/debug.c

    r229 r384  
    2828
    2929/*
    30  *      This file Copyright (C) 1992-99 Ulrich M”ller,
    31  *                                      Kim Rasmussen,
    32  *                                      Marc Fiammante,
    33  *                                      John Currier,
    34  *                                      Anthony Cruise.
     30 *      This file Copyright (C) 1992-2010 Ulrich M”ller,
     31 *                                        Kim Rasmussen,
     32 *                                        Marc Fiammante,
     33 *                                        John Currier,
     34 *                                        Anthony Cruise.
    3535 *      This file is part of the "XWorkplace helpers" source package.
    3636 *      This is free software; you can redistribute it and/or modify
     
    18011801 *
    18021802 *@@changed V0.9.2 (2000-03-08) [umoeller]: now searching OS2\PDPSI\PMDF for SYM files also
     1803 *@@changed XWP V1.0.9 (2010-04-16) [pr]: fixed module name display bugs
    18031804 */
    18041805
     
    18181819                    // Bp,
    18191820                    Sp = 0;
    1820     static char     Name[CCHMAXPATH];
     1821    char            Name[CCHMAXPATH];
    18211822    HMODULE         hMod = 0;
    18221823    ULONG           ObjNum = 0;
     
    19871988                   )
    19881989                {
    1989                     // static char     szJunk[_MAX_FNAME];
    1990                     static char     szName[_MAX_FNAME];
    1991 
    19921990                    DosQueryModuleName(hMod, sizeof(Name), Name);
    1993                     // _splitpath(Name, szJunk, szJunk, szName, szJunk);
    1994 
    19951991                    // print module and object
    1996                     fprintf(LogFile, "%-8s %04lX  ", szName, ObjNum + 1);
     1992                    fprintf(LogFile, "%-8s %04lX  ", Name, ObjNum + 1);
    19971993
    19981994                    if (strlen(Name) > 3)
Note: See TracChangeset for help on using the changeset viewer.