mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed mistake 902e734
This commit is contained in:
parent
f20170406e
commit
71bde05573
@ -3076,7 +3076,7 @@ void CRainmeter::ChangeSkinIndex(HMENU menu, int index)
|
|||||||
void CRainmeter::StartLogging()
|
void CRainmeter::StartLogging()
|
||||||
{
|
{
|
||||||
// Check if the file exists
|
// Check if the file exists
|
||||||
const WCHAR* logFile = m_LogViewer.c_str();
|
const WCHAR* logFile = m_LogFile.c_str();
|
||||||
if (_waccess(logFile, 0) == -1)
|
if (_waccess(logFile, 0) == -1)
|
||||||
{
|
{
|
||||||
// Create log file
|
// Create log file
|
||||||
@ -3109,7 +3109,7 @@ void CRainmeter::StopLogging()
|
|||||||
void CRainmeter::ShowLogFile()
|
void CRainmeter::ShowLogFile()
|
||||||
{
|
{
|
||||||
// Check if the file exists
|
// Check if the file exists
|
||||||
const WCHAR* logFile = m_LogViewer.c_str();
|
const WCHAR* logFile = m_LogFile.c_str();
|
||||||
if (_waccess(logFile, 0) != -1)
|
if (_waccess(logFile, 0) != -1)
|
||||||
{
|
{
|
||||||
RunFile(m_LogViewer.c_str(), logFile);
|
RunFile(m_LogViewer.c_str(), logFile);
|
||||||
@ -3119,7 +3119,7 @@ void CRainmeter::ShowLogFile()
|
|||||||
void CRainmeter::DeleteLogFile()
|
void CRainmeter::DeleteLogFile()
|
||||||
{
|
{
|
||||||
// Check if the file exists
|
// Check if the file exists
|
||||||
const WCHAR* logFile = m_LogViewer.c_str();
|
const WCHAR* logFile = m_LogFile.c_str();
|
||||||
if (_waccess(logFile, 0) != -1)
|
if (_waccess(logFile, 0) != -1)
|
||||||
{
|
{
|
||||||
std::wstring text = GetFormattedString(ID_STR_LOGFILEDELETE, logFile);
|
std::wstring text = GetFormattedString(ID_STR_LOGFILEDELETE, logFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user