Changeset 686 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/Subroutine.cpp
- Timestamp:
- Jul 13, 2008, 11:24:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/Subroutine.cpp
r608 r686 232 232 //パラメータを整備 233 233 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); 235 235 lstrcpy(Parameter,ArrayElements); 236 236 if(rightSide){ … … 281 281 //パラメータを整備 282 282 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); 284 284 lstrcpy(Parameter,ArrayElements); 285 285 if(rightSide){
Note:
See TracChangeset
for help on using the changeset viewer.