Changeset 115 for trunk/dll/saveclip.c


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

Rework lstrip/rstrip usage
Rework fixup usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/saveclip.c

    r51 r115  
    1010
    1111  Revisions     12 Feb 03 SHL - SaveListDlgProc: standardize EA math
     12                01 Aug 04 SHL - Rework lstrip/rstrip usage
     13                01 Aug 04 SHL - Rework fixup usage
    1214
    1315***********************************************************************/
     
    166168    WinCloseClipbrd(hab);
    167169    if(text) {
    168       pp = lstrip(rstrip(text));
     170      bstrip(text);
     171      pp = text;
    169172      p = strchr(pp,'\r');
    170173      if(!p)
     
    246249          fixup(pattern,
    247250                temp,
    248                 161,
     251                sizeof(temp),
    249252                strlen(pattern));
    250253          WinSetDlgItemText(hwnd,
     
    441444                                CCHMAXPATH,
    442445                                savename);
    443             lstrip(rstrip(savename));
     446            bstrip(savename);
    444447            if(!*savename) {
    445448              WinEnableWindow(hwnd,TRUE);
     
    643646          CHAR temp[162];
    644647
    645           fixup(pattern,temp,161,strlen(pattern));
     648          fixup(pattern,temp,sizeof(temp),strlen(pattern));
    646649          WinSetDlgItemText(hwnd,SAV_PATTERN,temp);
    647650        }
     
    839842                                CCHMAXPATH,
    840843                                savename);
    841             lstrip(rstrip(savename));
     844            bstrip(savename);
    842845            if(!*savename) {
    843846              WinEnableWindow(hwnd,TRUE);
Note: See TracChangeset for help on using the changeset viewer.