Mercurial > audlegacy
comparison src/audacious/main.c @ 2736:8249a1248a09 trunk
[svn] - avoid null dereferences
- handle command line options before plugin system is loaded
author | nenolod |
---|---|
date | Fri, 11 May 2007 12:39:47 -0700 |
parents | cf080b11c3fa |
children | 182aa34ae6c4 |
comparison
equal
deleted
inserted
replaced
2735:ccf3e141fb1e | 2736:8249a1248a09 |
---|---|
1136 | 1136 |
1137 g_random_set_seed(time(NULL)); | 1137 g_random_set_seed(time(NULL)); |
1138 | 1138 |
1139 bmp_config_load(); | 1139 bmp_config_load(); |
1140 | 1140 |
1141 if (options.session != -1) { | 1141 handle_cmd_line_options(&options, TRUE); |
1142 handle_cmd_line_options(&options, TRUE); | |
1143 exit(EXIT_SUCCESS); | |
1144 } | |
1145 | 1142 |
1146 #ifdef USE_DBUS | 1143 #ifdef USE_DBUS |
1147 init_dbus(); | 1144 init_dbus(); |
1148 #endif | 1145 #endif |
1149 | 1146 |