Changeset 10 for trunk/txlib/txosapi.c

Show
Ignore:
Timestamp:
02/22/06 13:03:35 (3 years ago)
Author:
jvw
Message:

Fix FileDialog? trap, other minor updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/txlib/txosapi.c

    r1 r10  
    253253   if (txfLargeAPItested == FALSE) 
    254254   { 
    255       rc = DosLoadModule( dlmerror, 
    256                           TXMAXLN,              // error buffer and size 
    257                           TXF_DOSCALLS,         // name of dll 
    258                           &doscalls);           // module handle 
    259       if (rc == NO_ERROR) 
     255      if ((DosLoadModule( dlmerror, TXMAXLN, TXF_DOSCALLS, &doscalls)) == NO_ERROR) 
    260256      { 
    261257         TRACES(("Txf DOSCALLS module handle: %lu\n", doscalls)); 
     
    285281   } 
    286282 
    287    if (txfLargeAPIentryp.DosOpenLarge != NULL) 
     283   if ((txfLargeAPIentryp.DosOpenLarge != NULL) && 
     284       (txfLargeAPIentryp.DosSeekLarge != NULL)  ) 
    288285   { 
    289286      rc = TRUE;