From 8bbf210610804623aa581f3a547fc782fed9c118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 19 May 2013 12:36:06 +0000 Subject: "PopUp" everywhere was replaced to "Popup" git-svn-id: http://svn.miranda-ng.org/main/trunk@4730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/history.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Popup/src/history.cpp') diff --git a/plugins/Popup/src/history.cpp b/plugins/Popup/src/history.cpp index a44af22401..b43fe1c7a8 100644 --- a/plugins/Popup/src/history.cpp +++ b/plugins/Popup/src/history.cpp @@ -45,7 +45,7 @@ static void FreeHistoryItem(POPUPDATA2 *ppd) void PopupHistoryResize() { - popupHistoryBuffer = PopUpOptions.HistorySize; + popupHistoryBuffer = PopupOptions.HistorySize; mir_cslock lck(csPopupHistory); while (arPopupHistory.getCount() > popupHistoryBuffer) { @@ -71,7 +71,7 @@ void PopupHistoryUnload() void PopupHistoryAdd(POPUPDATA2 *ppdNew) { - if (!PopUpOptions.EnableHistory) + if (!PopupOptions.EnableHistory) return; POPUPDATA2 *ppd = (POPUPDATA2*)mir_alloc( sizeof(POPUPDATA2)); @@ -100,7 +100,7 @@ void PopupHistoryAdd(POPUPDATA2 *ppdNew) void PopupHistoryShow() { - if (!PopUpOptions.EnableHistory) { + if (!PopupOptions.EnableHistory) { MessageBox(NULL, TranslateT("Popup History is disabled"), TranslateT("Popup History message"), MB_OK); return; } @@ -135,7 +135,7 @@ static INT_PTR CALLBACK HistoryDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)IcoLib_GetIcon(ICO_HISTORY,0)); SendMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM)IcoLib_GetIcon(ICO_HISTORY,1)); - if (gbHppInstalled && PopUpOptions.UseHppHistoryLog) { + if (gbHppInstalled && PopupOptions.UseHppHistoryLog) { logType = LOG_HPP; ShowWindow(GetDlgItem(hwnd, IDC_POPUP_LIST), SW_HIDE); @@ -246,7 +246,7 @@ static INT_PTR CALLBACK HistoryDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA if (rc.right - rc.left <= 30) return FALSE; - POPUPOPTIONS customOptions = PopUpOptions; + POPUPOPTIONS customOptions = PopupOptions; customOptions.DynamicResize = FALSE; customOptions.MinimumWidth = customOptions.MaximumWidth = rc.right-rc.left-30; -- cgit v1.2.3