From da87b3fa0479333cfe9505713f6ffaa54b9ba543 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Wed, 31 Dec 2014 17:08:47 +0000 Subject: pascal code: reformat, small fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@11700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/myshows/i_myshows_api.inc | 2 +- plugins/Watrack/myshows/i_myshows_dlg.inc | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/Watrack/myshows') diff --git a/plugins/Watrack/myshows/i_myshows_api.inc b/plugins/Watrack/myshows/i_myshows_api.inc index 6341793016..6f77819c64 100644 --- a/plugins/Watrack/myshows/i_myshows_api.inc +++ b/plugins/Watrack/myshows/i_myshows_api.inc @@ -42,7 +42,7 @@ begin MessageBoxW(0,@buf,'ERROR',MB_ICONERROR) end; -function GetMD5Str(digest:TMD5Hash; buf:pAnsiChar):PAnsiChar; +function GetMD5Str(const digest:TMD5Hash; buf:pAnsiChar):PAnsiChar; begin buf[00]:=HexDigitChrLo[digest[00] shr 4]; buf[01]:=HexDigitChrLo[digest[00] and $0F]; buf[02]:=HexDigitChrLo[digest[01] shr 4]; buf[03]:=HexDigitChrLo[digest[01] and $0F]; diff --git a/plugins/Watrack/myshows/i_myshows_dlg.inc b/plugins/Watrack/myshows/i_myshows_dlg.inc index 1f51ed7d11..da128900d9 100644 --- a/plugins/Watrack/myshows/i_myshows_dlg.inc +++ b/plugins/Watrack/myshows/i_myshows_dlg.inc @@ -3,13 +3,13 @@ const kinopoisk_info = 'http://www.kinopoisk.ru/level/1/film/'; -procedure ClearInfo(dlg:HWND); +procedure ClearInfo(Dlg:HWND); begin - SetDlgItemTextW(dlg,IDC_DATA_SERIES ,''); - SetDlgItemTextW(dlg,IDC_DATA_EPISODE,''); - SetDlgItemTextW(dlg,IDC_DATA_TAGS ,''); - SetDlgItemTextW(dlg,IDC_DATA_TAGS ,''); - SetDlgItemTextW(dlg,IDC_DATA_INFO ,''); + SetDlgItemTextW(Dlg,IDC_DATA_SERIES ,''); + SetDlgItemTextW(Dlg,IDC_DATA_EPISODE,''); + SetDlgItemTextW(Dlg,IDC_DATA_TAGS ,''); + SetDlgItemTextW(Dlg,IDC_DATA_TAGS ,''); + SetDlgItemTextW(Dlg,IDC_DATA_INFO ,''); end; function DlgProcOptions(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT; stdcall; -- cgit v1.2.3