Changeset 11


Ignore:
Timestamp:
Oct 31, 2000, 8:43:30 PM (25 years ago)
Author:
umoeller
Message:

Updates for new xwphelpers plus others.

Location:
trunk/src/helpers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/textv_html.c

    r8 r11  
    20282028    BOOL    brc = TRUE;
    20292029
    2030     PSZ     pszNew,
    2031             pTarget;
    20322030    ULONG   cbSource = strlen(*ppszText);
    20332031
  • trunk/src/helpers/tree.c

    r8 r11  
    473473        youngest->parent = descendent->parent;
    474474    if (descendent->parent)
     475    {
    475476        if (descendent == descendent->parent->left)
    476477            descendent->parent->left  = youngest;
    477478        else
    478479            descendent->parent->right = youngest;
     480    }
    479481    else
    480482        *root = youngest;
  • trunk/src/helpers/winh.c

    r8 r11  
    24632463
    24642464        case PROG_WINDOW_AUTO:
     2465#ifdef PROG_30_STD
    24652466        case PROG_30_STD:
     2467#endif
    24662468        case PROG_31_STD:
    24672469        case PROG_WINDOW_REAL:
     2470#ifdef PROG_30_STDSEAMLESSVDM
    24682471        case PROG_30_STDSEAMLESSVDM:
     2472#endif
    24692473        case PROG_31_STDSEAMLESSVDM:
    24702474        case PROG_30_STDSEAMLESSCOMMON:
  • trunk/src/helpers/xml.c

    r10 r11  
    5757 */
    5858
     59#define OS2EMX_PLAIN_CHAR
     60    // this is needed for "os2emx.h"; if this is defined,
     61    // emx will define PSZ as _signed_ char, otherwise
     62    // as unsigned char
     63
     64#define INCL_DOSERRORS
     65#include <os2.h>
     66
    5967#include <stdlib.h>
    6068#include <string.h>
    61 
    62 #include <os2.h>
    6369
    6470#include "setup.h"                      // code generation and debugging options
     
    547553                        PDOMNODE pParentNode,
    548554                        PFNVALIDATE pfnValidateTag,
    549                         const char **ppError);
     555                        const char **ppError)
    550556{
    551557    ULONG ulrc = 0;
     
    726732                                                              pllSubList,
    727733                                                              pNewNode,
    728                                                               pfnValidateTag),
     734                                                              pfnValidateTag,
     735                                                              ppError);
    729736
    730737                                            lstFree(pllSubList);
     
    838845    ULONG   ulrc = 0;
    839846
    840     const char *pSearchPos = pcszBuf;
    841 
    842847    PLINKLIST pllTags = BuildTagsList(pcszBuf);
    843848
    844849    // now create DOMNODE's according to that list...
     850    const char *pcszError = 0;
    845851    CreateNodesForBuf(pcszBuf,
    846852                      NULL,     // enitre buffer
    847853                      pllTags,
    848854                      pParentNode,
    849                       pfnValidateTag);
     855                      pfnValidateTag,
     856                      &pcszError);
    850857
    851858    lstFree(pllTags);
Note: See TracChangeset for help on using the changeset viewer.