diff -r -u cwiid-0.6.00/wminput/conf.c cwiid-0.6.00-mod/wminput/conf.c
|
old
|
new
|
|
| 558 | 558 | return -1; |
| 559 | 559 | } |
| 560 | 560 | |
| 561 | | free(conf->config_filename_stack[conf->stack_index]); |
| 562 | | *yyloc = conf->yyloc_stack[conf->stack_index]; |
| | 561 | if (conf->stack_index > 0) { |
| | 562 | free(conf->config_filename_stack[conf->stack_index]); |
| | 563 | } |
| 563 | 564 | |
| 564 | 565 | conf->stack_index--; |
| 565 | 566 | |
| 566 | | conf->current_config_filename = |
| 567 | | conf->config_filename_stack[conf->stack_index]; |
| | 567 | if (conf->stack_index > 0) { |
| | 568 | conf->current_config_filename = |
| | 569 | conf->config_filename_stack[conf->stack_index]; |
| | 570 | *yyloc = conf->yyloc_stack[conf->stack_index]; |
| | 571 | } |
| 568 | 572 | |
| 569 | 573 | return 0; |
| 570 | 574 | } |