Changeset 123 for trunk/dll/remap.c


Ignore:
Timestamp:
Dec 5, 2004, 1:20:19 AM (21 years ago)
Author:
root
Message:

Rework lstrip/rstrip usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/remap.c

    r2 r123  
     1
     2/***********************************************************************
     3
     4  $Id$
     5
     6  Copyright (c) 1993-98 M. Kimes
     7  Copyright (c) 2004 Steven H.Levine
     8
     9  Revisions     01 Aug 04 SHL - Rework lstrip/rstrip usage
     10
     11***********************************************************************/
     12
    113#define INCL_WIN
    214#define INCL_DOS
     
    5870        break;
    5971      s[sizeof(s) - 1] = 0;
    60       stripcr(s);
    61       lstrip(rstrip(s));
     72      bstripcr(s);
    6273      if(*s && *s != ';') {
    6374        info = malloc(sizeof(LINKRES));
     
    487498                                MPFROM2SHORT(x,sizeof(resource)),
    488499                                MPFROMP(resource));
    489               lstrip(rstrip(resource));
     500              bstrip(resource);
    490501              if(*resource) {
    491502                if(remove_resource(resource)) {
     
    541552                                sizeof(s),
    542553                                s);
    543             lstrip(rstrip(s));
     554            bstrip(s);
    544555            x = (SHORT)WinSendDlgItemMsg(hwnd,
    545556                                         MAP_DETACHLIST,
     
    671682                                sizeof(s),
    672683                                s);
    673             lstrip(rstrip(s));
     684            bstrip(s);
    674685            if(*s) {
    675686              x = (SHORT)WinSendDlgItemMsg(hwnd,
Note: See TracChangeset for help on using the changeset viewer.