comparison src/main.c @ 6890:4eee806af511

[gaim-migrate @ 7436] Checking for Dll Hell on gaim startup.. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Thu, 18 Sep 2003 22:12:36 +0000
parents 5aeba37b303c
children dece74f05509
comparison
equal deleted inserted replaced
6889:25bedecc872c 6890:4eee806af511
538 return &core_ops; 538 return &core_ops;
539 } 539 }
540 540
541 /* FUCKING GET ME A TOWEL! */ 541 /* FUCKING GET ME A TOWEL! */
542 #ifdef _WIN32 542 #ifdef _WIN32
543 int gaim_main(int argc, char *argv[]) 543 int gaim_main(HINSTANCE hint, int argc, char *argv[])
544 #else 544 #else
545 int main(int argc, char *argv[]) 545 int main(int argc, char *argv[])
546 #endif 546 #endif
547 { 547 {
548 int opt_acct = 0, opt_help = 0, opt_version = 0, opt_login = 0, opt_nologin = 0, dologin_ret = -1; 548 int opt_acct = 0, opt_help = 0, opt_version = 0, opt_login = 0, opt_nologin = 0, dologin_ret = -1;
804 "Please report this!\n"); 804 "Please report this!\n");
805 abort(); 805 abort();
806 } 806 }
807 807
808 #ifdef _WIN32 808 #ifdef _WIN32
809 wgaim_set_hinstance(hint);
809 wgaim_pre_plugin_init(); 810 wgaim_pre_plugin_init();
810 #endif 811 #endif
811 812
812 plugin_search_paths[0] = LIBDIR; 813 plugin_search_paths[0] = LIBDIR;
813 plugin_search_paths[1] = gaim_user_dir(); 814 plugin_search_paths[1] = gaim_user_dir();