diff options
Diffstat (limited to 'plugins/ImportTXT/General.pas')
-rw-r--r-- | plugins/ImportTXT/General.pas | 8 |
1 files changed, 1 insertions, 7 deletions
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);
|