From: Jon K. <em...@us...> - 2006-01-17 22:19:21
|
Update of /cvsroot/licq/qt-gui/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22673 Modified Files: usereventdlg.cpp Log Message: Add a null check. Index: usereventdlg.cpp =================================================================== RCS file: /cvsroot/licq/qt-gui/src/usereventdlg.cpp,v retrieving revision 1.193 retrieving revision 1.194 diff -u -d -r1.193 -r1.194 --- usereventdlg.cpp 9 Dec 2005 15:19:45 -0000 1.193 +++ usereventdlg.cpp 17 Jan 2006 22:19:13 -0000 1.194 @@ -1805,7 +1805,7 @@ // Remove the typing notification if active ICQUser *u = gUserManager.FetchUser(szId, m_nPPID, LOCK_W); - if (u->GetTyping() == ICQ_TYPING_ACTIVE) + if (u && u->GetTyping() == ICQ_TYPING_ACTIVE) { u->SetTyping(ICQ_TYPING_INACTIVEx0); nfoStatus->unsetPalette(); |