mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-01-22 14:17:03 +00:00
Remove TEXT() and _T(). (PR #1379)
This commit is contained in:
@@ -60,7 +60,7 @@ bool ParallelPrinterCard::CheckPrint(void)
|
||||
{
|
||||
//char filepath[MAX_PATH * 2];
|
||||
//strncpy(filepath, g_sProgramDir, MAX_PATH);
|
||||
//_tcsncat(filepath, _T("Printer.txt"), MAX_PATH);
|
||||
//_tcsncat(filepath, "Printer.txt", MAX_PATH);
|
||||
//file = fopen(filepath, "wb");
|
||||
if (m_bPrinterAppend )
|
||||
m_file = fopen(ParallelPrinterCard::GetFilename().c_str(), "ab");
|
||||
@@ -204,7 +204,7 @@ void ParallelPrinterCard::GetRegistryConfig(void)
|
||||
if (RegLoadValue(regSection.c_str(), REGVALUE_PRINTER_APPEND, TRUE, &dwTmp))
|
||||
SetPrinterAppend(dwTmp ? true : false);
|
||||
|
||||
if (RegLoadString(regSection.c_str(), REGVALUE_PRINTER_FILENAME, 1, szFilename, MAX_PATH, TEXT("")))
|
||||
if (RegLoadString(regSection.c_str(), REGVALUE_PRINTER_FILENAME, 1, szFilename, MAX_PATH, ""))
|
||||
SetFilename(szFilename);
|
||||
|
||||
if (RegLoadValue(regSection.c_str(), REGVALUE_PRINTER_IDLE_LIMIT, TRUE, &dwTmp))
|
||||
|
||||
Reference in New Issue
Block a user