show error message when libpurple.dll can't be loaded
This commit is contained in:
parent
7c7da424b6
commit
c178e4daa3
1 changed files with 4 additions and 1 deletions
|
@ -1518,7 +1518,10 @@ static void gotAttention(PurpleAccount *account, const char *who, PurpleConversa
|
|||
static bool initPurple() {
|
||||
bool ret;
|
||||
|
||||
resolvePurpleFunctions();
|
||||
if (!resolvePurpleFunctions()) {
|
||||
LOG4CXX_ERROR(logger, "Unable to load libpurple.dll or some of the needed methods");
|
||||
return false;
|
||||
}
|
||||
|
||||
purple_util_set_user_dir("./");
|
||||
remove("./accounts.xml");
|
||||
|
|
Loading…
Add table
Reference in a new issue