summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 19:18:18 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 19:18:18 +0000
commit378f689c0e7756fb504109604ab095ffad5faadb (patch)
treed26d0082988b345827a27f1c3365240a61090c4b /plugins/Quotes/src
parentf4c13c73bf781e48707a3ffc2aad182bb055a4e2 (diff)
- Another portion of _T replacement (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src')
-rw-r--r--plugins/Quotes/src/Forex.cpp18
-rw-r--r--plugins/Quotes/src/QuoteChart.cpp4
-rw-r--r--plugins/Quotes/src/QuotesProviderGoogle.cpp2
-rw-r--r--plugins/Quotes/src/SettingsDlg.cpp2
4 files changed, 13 insertions, 13 deletions
diff --git a/plugins/Quotes/src/Forex.cpp b/plugins/Quotes/src/Forex.cpp
index d931ca9813..09f231052f 100644
--- a/plugins/Quotes/src/Forex.cpp
+++ b/plugins/Quotes/src/Forex.cpp
@@ -74,13 +74,13 @@ namespace
void InitMenu()
{
CLISTMENUITEM mi = { sizeof(mi) };
- mi.ptszName = _T("Quotes");
+ mi.ptszName = LPGENT("Quotes");
mi.flags = CMIF_TCHAR|CMIF_ICONFROMICOLIB|CMIF_ROOTPOPUP;
mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_MAIN);
HGENMENU hMenuRoot = Menu_AddMainMenuItem(&mi);
g_ahMenus.push_back(hMenuRoot);
- mi.ptszName = _T("Refresh All Quotes\\Rates");
+ mi.ptszName = LPGENT("Refresh All Quotes\\Rates");
mi.flags = CMIF_TCHAR|CMIF_ICONFROMICOLIB|CMIF_ROOTHANDLE;
//mi.position = 0x0FFFFFFF;
mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_MAIN);
@@ -91,7 +91,7 @@ namespace
HANDLE h = CreateServiceFunction(mi.pszService, QuotesMenu_RefreshAll);
g_ahServices.push_back(h);
- mi.ptszName = _T("Currency Converter...");
+ mi.ptszName = LPGENT("Currency Converter...");
//mi.flags = CMIF_TCHAR|CMIF_ICONFROMICOLIB|CMIF_ROOTHANDLE;
//mi.position = 0x0FFFFFFF;
mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_CURRENCY_CONVERTER);
@@ -102,7 +102,7 @@ namespace
g_ahServices.push_back(h);
#ifdef TEST_IMPORT_EXPORT
- mi.ptszName = _T("Export All Quotes");
+ mi.ptszName = LPGENT("Export All Quotes");
//mi.flags = CMIF_TCHAR|CMIF_ICONFROMICOLIB|CMIF_ROOTHANDLE;
mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_EXPORT);
mi.pszService = "Quotes/ExportAll";
@@ -111,7 +111,7 @@ namespace
h = CreateServiceFunction(mi.pszService, QuotesMenu_ExportAll);
g_ahServices.push_back(h);
- mi.ptszName =_T("Import All Quotes");
+ mi.ptszName = LPGENT("Import All Quotes");
//mi.flags = CMIF_TCHAR|CMIF_ICONFROMICOLIB|CMIF_ROOTHANDLE;
mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_IMPORT);
mi.pszService = "Quotes/ImportAll";
@@ -149,7 +149,7 @@ namespace
mi.pszPopupName = (char*)hMenuRoot;
}
- mi.ptszName = _T("Refresh");
+ mi.ptszName = LPGENT("Refresh");
mi.popupPosition = 0;
mi.flags |= CMIF_ICONFROMICOLIB;
mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_REFRESH);
@@ -160,7 +160,7 @@ namespace
h = CreateServiceFunction(mi.pszService, QuotesMenu_RefreshContact);
g_ahServices.push_back(h);
- mi.ptszName = _T("Open Log File...");
+ mi.ptszName = LPGENT("Open Log File...");
mi.popupPosition = 1;
mi.icolibItem = NULL;
mi.pszService = "Quotes/OpenLogFile";
@@ -171,7 +171,7 @@ namespace
g_ahServices.push_back(h);
#ifdef CHART_IMPLEMENT
- mi.ptszName = _T("Chart...");
+ mi.ptszName = LPGENT("Chart...");
mi.popupPosition = 2;
mi.icolibItem = NULL;
mi.pszService = "Quotes/Chart";
@@ -182,7 +182,7 @@ namespace
g_ahServices.push_back(h);
#endif
- mi.ptszName = _T("Edit Settings...");
+ mi.ptszName = LPGENT("Edit Settings...");
#ifdef CHART_IMPLEMENT
mi.popupPosition = 3;
#else
diff --git a/plugins/Quotes/src/QuoteChart.cpp b/plugins/Quotes/src/QuoteChart.cpp
index 3746540d23..5e5567cb0b 100644
--- a/plugins/Quotes/src/QuoteChart.cpp
+++ b/plugins/Quotes/src/QuoteChart.cpp
@@ -230,8 +230,8 @@ namespace
::SetWindowLongPtr(hDlg,GWLP_USERDATA,reinterpret_cast<LONG_PTR>(hContact));
- static LPCTSTR szSources[] = {_T("Log File"),_T("Miranda's History")};
- static LPCTSTR szFilters[] = {_T("All"),_T("Last Day"),_T("Last Week"),_T("Last Month"),_T("Last Year"),_T("User-Defined")};
+ static LPCTSTR szSources[] = {LPGENT("Log File"), LPGENT("Miranda's History")};
+ static LPCTSTR szFilters[] = {LPGENT("All"), LPGENT("Last Day"), LPGENT("Last Week"), LPGENT("Last Month"), LPGENT("Last Year"), LPGENT("User-Defined")};
for(int i = 0;i < sizeof(szSources)/sizeof(szSources[0]);++i)
{
diff --git a/plugins/Quotes/src/QuotesProviderGoogle.cpp b/plugins/Quotes/src/QuotesProviderGoogle.cpp
index c2b30a9a6a..d55f28fb82 100644
--- a/plugins/Quotes/src/QuotesProviderGoogle.cpp
+++ b/plugins/Quotes/src/QuotesProviderGoogle.cpp
@@ -125,7 +125,7 @@ namespace
bool parse_html_node(const THTMLNodePtr& pNode,double& rdRate)
{
tstring sID = pNode->GetAttribute(_T("id"));
- if ((false == sID.empty()) && (0 == quotes_stricmp(sID.c_str(),_T("currency_converter_result"))))
+ if ((false == sID.empty()) && (0 == quotes_stricmp(sID.c_str(), _T("currency_converter_result"))))
{
size_t cChild = pNode->GetChildCount();
// assert(1 == cChild);
diff --git a/plugins/Quotes/src/SettingsDlg.cpp b/plugins/Quotes/src/SettingsDlg.cpp
index 0011d2e917..d426880cd0 100644
--- a/plugins/Quotes/src/SettingsDlg.cpp
+++ b/plugins/Quotes/src/SettingsDlg.cpp
@@ -97,7 +97,7 @@ namespace
std::vector<TCHAR> get_filter()
{
std::vector<TCHAR> aFilter;
- LPCTSTR pszFilterParts[] = {_T("Log Files (*.txt,*.log)"),_T("*.txt;*.log"),_T("All files (*.*)"),_T("*.*")};
+ LPCTSTR pszFilterParts[] = {LPGENT("Log Files (*.txt,*.log)"), _T("*.txt;*.log"), LPGENT("All files (*.*)"), _T("*.*")};
for(int i = 0;i < sizeof(pszFilterParts)/sizeof(pszFilterParts[0]);++i)
{
tstring sPart = TranslateTS(pszFilterParts[i]);