diff options
Diffstat (limited to 'plugins/WhenWasIt/src/utils.cpp')
| -rw-r--r-- | plugins/WhenWasIt/src/utils.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/WhenWasIt/src/utils.cpp b/plugins/WhenWasIt/src/utils.cpp index 6bfbcd326e..96a86ee8be 100644 --- a/plugins/WhenWasIt/src/utils.cpp +++ b/plugins/WhenWasIt/src/utils.cpp @@ -281,7 +281,7 @@ TCHAR *GetContactID(HANDLE hContact, char *szProto)  #pragma warning (disable: 4312)
  HANDLE GetContactFromID(TCHAR *szID, char *szProto)
  {
 -	HANDLE hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDFIRST, 0, 0);
 +	HANDLE hContact = db_find_first();
  	TCHAR *szHandle;
  	char cProtocol[256];
 @@ -300,7 +300,7 @@ HANDLE GetContactFromID(TCHAR *szID, char *szProto)  				{
  					break;
  				}
 -			hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM) hContact, 0);
 +			hContact = db_find_next(hContact);
  		}
  	return hContact;
  }
  | 
