summaryrefslogtreecommitdiff
path: root/plugins/MirandaNGHistoryToDB
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-18 08:41:45 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-18 08:41:45 +0000
commit825695b0431ed2dbde2a84c42afeb3422ec04bc2 (patch)
treed1bab690b11ff1839dd95b8b21a50154aeca193a /plugins/MirandaNGHistoryToDB
parent47dc7e18954f0bb0a39e59dda9e8ad18a6a3bd0b (diff)
double ;; removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6125 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaNGHistoryToDB')
-rw-r--r--plugins/MirandaNGHistoryToDB/Global.pas16
-rw-r--r--plugins/MirandaNGHistoryToDB/HistoryToDBUpdater/Global.pas2
-rw-r--r--plugins/MirandaNGHistoryToDB/MirandaNGHistoryToDB.dpr2
3 files changed, 10 insertions, 10 deletions
diff --git a/plugins/MirandaNGHistoryToDB/Global.pas b/plugins/MirandaNGHistoryToDB/Global.pas
index fc4cc4c4bb..16c1638195 100644
--- a/plugins/MirandaNGHistoryToDB/Global.pas
+++ b/plugins/MirandaNGHistoryToDB/Global.pas
@@ -662,8 +662,8 @@ begin
HToDB := FindWindow(nil, pWideChar(WinName));
if HToDB <> 0 then
begin
- copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);;
- copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);;
+ copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);
+ copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);
copyDataStruct.lpData := PChar(EncryptMsg);
SendMessage(HToDB, WM_COPYDATA, 0, {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(@copyDataStruct));
if EnableDebug then WriteInLog(ProfilePath, FormatDateTime('dd.mm.yy hh:mm:ss', Now) + ' - Функция OnSendMessageToAllComponent: Отправка запроса "' + Msg + '" окну ' + WinName, 2);
@@ -673,8 +673,8 @@ begin
HToDB := FindWindow(nil, pWideChar(WinName));
if HToDB <> 0 then
begin
- copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);;
- copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);;
+ copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);
+ copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);
copyDataStruct.lpData := PChar(EncryptMsg);
SendMessage(HToDB, WM_COPYDATA, 0, {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(@copyDataStruct));
if EnableDebug then WriteInLog(ProfilePath, FormatDateTime('dd.mm.yy hh:mm:ss', Now) + ' - Функция OnSendMessageToAllComponent: Отправка запроса "' + Msg + '" окну ' + WinName, 2);
@@ -684,8 +684,8 @@ begin
HToDB := FindWindow(nil, pWideChar(WinName));
if HToDB <> 0 then
begin
- copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);;
- copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);;
+ copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);
+ copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);
copyDataStruct.lpData := PChar(EncryptMsg);
SendMessage(HToDB, WM_COPYDATA, 0, {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(@copyDataStruct));
if EnableDebug then WriteInLog(ProfilePath, FormatDateTime('dd.mm.yy hh:mm:ss', Now) + ' - Функция OnSendMessageToAllComponent: Отправка запроса "' + Msg + '" окну ' + WinName, 2);
@@ -695,8 +695,8 @@ begin
HToDB := FindWindow(nil, pWideChar(WinName));
if HToDB <> 0 then
begin
- copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);;
- copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);;
+ copyDataStruct.dwData := {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(cdtString);
+ copyDataStruct.cbData := Length(EncryptMsg) * SizeOf(Char);
copyDataStruct.lpData := PChar(EncryptMsg);
SendMessage(HToDB, WM_COPYDATA, 0, {$IFDEF WIN32}Integer{$ELSE}LongInt{$ENDIF}(@copyDataStruct));
if EnableDebug then WriteInLog(ProfilePath, FormatDateTime('dd.mm.yy hh:mm:ss', Now) + ' - Функция OnSendMessageToAllComponent: Отправка запроса "' + Msg + '" окну ' + WinName, 2);
diff --git a/plugins/MirandaNGHistoryToDB/HistoryToDBUpdater/Global.pas b/plugins/MirandaNGHistoryToDB/HistoryToDBUpdater/Global.pas
index 6747ee346d..f3f68e7ea2 100644
--- a/plugins/MirandaNGHistoryToDB/HistoryToDBUpdater/Global.pas
+++ b/plugins/MirandaNGHistoryToDB/HistoryToDBUpdater/Global.pas
@@ -239,7 +239,7 @@ begin
if Str <> '' then
begin
Cipher.Reset;
- Result := Cipher.DecryptString(Str);;
+ Result := Cipher.DecryptString(Str);
end;
end;
diff --git a/plugins/MirandaNGHistoryToDB/MirandaNGHistoryToDB.dpr b/plugins/MirandaNGHistoryToDB/MirandaNGHistoryToDB.dpr
index 3f59234df9..82768f86cd 100644
--- a/plugins/MirandaNGHistoryToDB/MirandaNGHistoryToDB.dpr
+++ b/plugins/MirandaNGHistoryToDB/MirandaNGHistoryToDB.dpr
@@ -631,7 +631,7 @@ begin
Si.Position := 500060000;
Si.szName.a := pAnsiChar(AnsiString(Format(WideStringToString(GetLangStr('IMButtonCaption'), CP_ACP), [htdPluginShortName])));
Si.pszService := MS_MHTD_SHOWHISTORY;//MS_HISTORY_SHOWCONTACTHISTORY;
- Si.hIcon := LoadImage(hInstance,'ICON_0',IMAGE_ICON,16,16,0);;
+ Si.hIcon := LoadImage(hInstance,'ICON_0',IMAGE_ICON,16,16,0);
HookSystemHistoryMenu := CallService(MS_CLIST_ADDMAINMENUITEM,0,LPARAM(@Si));
//{$endif REPLDEFHISTMOD}
// Создаем свой пункт в меню контакта