Changeset 62
- Timestamp:
- 10/30/2008 11:06:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/source/motif/mfexec.c
r61 r62 417 417 } /*endif*/ 418 418 /* if addlist is a variable, translate it */ 419 if (addlist[0] == '$') {420 vstr[0] = 'v';421 strcpy( vstr+1, addlist );422 GpReadParameter( vstr, cBcLongStrLth, addlist, &ok );423 if (!ok) {424 printf( "*SHM: no %s definition\n", vstr );425 *status = MXE_CONFIG_SETUP;426 err_setcontext( " ## variable: not found: " );427 err_setcontext( vstr );428 return;429 } /*endif*/430 } /*endif*/431 if (GpGetInt(cGpI_debug_level) > 3)432 printf( "SHM-dbg4: :LOC addlist: %s\n", addlist );433 419 } else { 434 420 strcpy( addlist, code ); 435 421 } /*endif*/ 422 423 if (addlist[0] == '$') { 424 vstr[0] = 'v'; 425 strcpy( vstr+1, addlist ); 426 GpReadParameter( vstr, cBcLongStrLth, addlist, &ok ); 427 if (!ok) { 428 printf( "*SHM: no %s definition\n", vstr ); 429 *status = MXE_CONFIG_SETUP; 430 err_setcontext( " ## variable: not found: " ); 431 err_setcontext( vstr ); 432 return; 433 } /*endif*/ 434 } /*endif*/ 435 if (GpGetInt(cGpI_debug_level) > 3) 436 printf( "SHM-dbg4: :LOC addlist: %s\n", addlist ); 436 437 437 438 } /* end of mxh_translate_button_name */
Note: See TracChangeset
for help on using the changeset viewer.