| File src/hstr.c changed (mode: 100644) (index 21f2706..0fe8f37) |
| ... |
... |
void hstr() |
| 702 |
702 |
HistoryItems *history=get_prioritized_history(); |
HistoryItems *history=get_prioritized_history(); |
| 703 |
703 |
if(history) { |
if(history) { |
| 704 |
704 |
history_mgmt_open(); |
history_mgmt_open(); |
| 705 |
|
get_env_configuration(); |
|
| 706 |
705 |
loop_to_select(history); |
loop_to_select(history); |
| 707 |
706 |
hstr_on_exit(); |
hstr_on_exit(); |
| 708 |
707 |
} else { |
} else { |
| |
| ... |
... |
void hstr() |
| 712 |
711 |
|
|
| 713 |
712 |
int main(int argc, char *argv[]) |
int main(int argc, char *argv[]) |
| 714 |
713 |
{ |
{ |
|
714 |
|
get_env_configuration(); |
| 715 |
715 |
if(argc>0) { |
if(argc>0) { |
| 716 |
716 |
if(argc==2) { |
if(argc==2) { |
| 717 |
717 |
if(strstr(argv[1], "--favorites") || strstr(argv[1], "-f")) { |
if(strstr(argv[1], "--favorites") || strstr(argv[1], "-f")) { |
| 718 |
|
xxx |
|
|
718 |
|
historyView=HH_VIEW_FAVORITES; |
| 719 |
719 |
} |
} |
| 720 |
720 |
if(strstr(argv[1], "--show-configuration")) { |
if(strstr(argv[1], "--show-configuration")) { |
| 721 |
721 |
printf("%s", INSTALL_STRING); |
printf("%s", INSTALL_STRING); |