From d8a81a7a63b37b760d5c22641ed4f4b1cfbb232a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Mar 2014 21:16:11 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8725 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/database/database.cpp | 1 - src/modules/database/dbini.cpp | 2 -- src/modules/database/profilemanager.cpp | 3 +++ 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/database') diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index 05c9141a73..58112c2ac4 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -26,7 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "profilemanager.h" // contains the location of mirandaboot.ini -extern TCHAR mirandabootini[MAX_PATH]; bool g_bDbCreated; TCHAR g_profileDir[MAX_PATH], g_profileName[MAX_PATH], g_shortProfileName[MAX_PATH]; TCHAR* g_defaultProfile; diff --git a/src/modules/database/dbini.cpp b/src/modules/database/dbini.cpp index 022f4c1188..ebcf7e3e89 100644 --- a/src/modules/database/dbini.cpp +++ b/src/modules/database/dbini.cpp @@ -28,8 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. static bool bModuleInitialized = false; static HANDLE hIniChangeNotification; -extern TCHAR mirandabootini[MAX_PATH]; - static INT_PTR CALLBACK InstallIniDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { diff --git a/src/modules/database/profilemanager.cpp b/src/modules/database/profilemanager.cpp index 05c44aa603..30704d902d 100644 --- a/src/modules/database/profilemanager.cpp +++ b/src/modules/database/profilemanager.cpp @@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "..\..\core\commonheaders.h" #include "..\plugins\plugins.h" +#include "..\langpack\langpack.h" #include "profilemanager.h" #include @@ -799,6 +800,8 @@ static int AddProfileManagerPage(struct DetailsPageInit *opi, OPTIONSDIALOGPAGE int getProfileManager(PROFILEMANAGERDATA * pd) { + Langpack_LoadLangpack(); + DetailsPageInit opi = { 0 }; OPTIONSDIALOGPAGE odp = { sizeof(odp) }; -- cgit v1.2.3