From 25ec54ea27a7099f33573b260a620ed7273176fe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jun 2013 12:16:44 +0000 Subject: - db_set_blob used everywhere for writing blobs - DBCONTACTWRITESETTING left only in the event handlers git-svn-id: http://svn.miranda-ng.org/main/trunk@5191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ImportTXT/General.pas | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'plugins/ImportTXT') diff --git a/plugins/ImportTXT/General.pas b/plugins/ImportTXT/General.pas index a57e497b0f..a27c64728a 100644 --- a/plugins/ImportTXT/General.pas +++ b/plugins/ImportTXT/General.pas @@ -458,14 +458,8 @@ begin end; function DBWriteByte(hContact: THandle; szModule: PAnsiChar; szSetting: PAnsiChar; val: byte): integer; -var - cws: TDBCONTACTWRITESETTING; begin - cws.szModule := szModule; - cws.szSetting := szSetting; - cws.value._type := DBVT_BYTE; - cws.value.bVal := val; - result := CallService(MS_DB_CONTACT_WRITESETTING, hContact, lParam(@cws)); + result := db_set_b(hContact, szModule, szSetting, val); end; procedure SetLastPattern(lp: byte); -- cgit v1.2.3