Changeset - c178e4daa301
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-04-10 10:22:45
hanzz.k@gmail.com
show error message when libpurple.dll can't be loaded
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -1515,13 +1515,16 @@ static void gotAttention(PurpleAccount *account, const char *who, PurpleConversa
 
	np->handleAttention(np->m_accounts[account], w, "");
 
}
 

	
 
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");
 
	remove("./blist.xml");
 

	
 
	purple_debug_set_ui_ops(&debugUiOps);
0 comments (0 inline, 0 general)