Ignore:
Timestamp:
Jul 13, 2008, 11:24:21 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

lstr系の代わりにstr系を使用するよう変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/Subroutine.cpp

    r608 r686  
    232232    //パラメータを整備
    233233    char *Parameter;
    234     Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+lstrlen(rightSide)+32);
     234    Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+(rightSide ? lstrlen(rightSide) : 0)+32);
    235235    lstrcpy(Parameter,ArrayElements);
    236236    if(rightSide){
     
    281281    //パラメータを整備
    282282    char *Parameter;
    283     Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+lstrlen(rightSide)+32);
     283    Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+(rightSide ? lstrlen(rightSide) : 0)+32);
    284284    lstrcpy(Parameter,ArrayElements);
    285285    if(rightSide){
Note: See TracChangeset for help on using the changeset viewer.