- Timestamp:
- Feb 24, 2009, 3:16:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/function.c
r2172 r2276 4228 4228 4229 4229 /* Evaluate the condition in argv[0] and expand the 2nd or 4230 3rd argument according to the result. */4230 3rd (optional) argument according to the result. */ 4231 4231 rc = expr_eval_if_conditionals (argv[0], NULL); 4232 4232 to_expand = rc == 0 ? argv[1] : argv[2]; 4233 if ( *to_expand)4233 if (to_expand && *to_expand) 4234 4234 variable_expand_string_2 (o, to_expand, -1, &o); 4235 4235
Note:
See TracChangeset
for help on using the changeset viewer.