| # | Line 111 | Line 111 | int main(int argc, char* argv[]){ | |
|---|---|---|
| 111 | } | |
| 112 | ||
| 113 | // check the second selection argument, or set it to the environment | |
| 114 | < | // variable, or failing that, set it to "select all" | 
| 114 | > | // variable, or failing that, set it to the first selection | 
| 115 | ||
| 116 | if (args_info.sele2_given) { | |
| 117 | sele2 = args_info.sele2_arg; | |
| 118 | } else { | |
| 119 | < | char* sele2Env = getenv("SELECTION1"); | 
| 119 | > | char* sele2Env = getenv("SELECTION2"); | 
| 120 | if (sele2Env) { | |
| 121 | sele2 = sele2Env; | |
| 122 | } else { | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |