mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- FIXED: inconsistent numerical value via DynamicVariables (issue 130)
- FIXED: Problem with WebParser and "local files" with Cyrillic chars in the path. (issue 139) - The coded character set of the logfile is changed to UTF-8. (ccs=UTF-8) http://msdn.microsoft.com/en-us/library/yeby3zcb%28VS.80%29.aspx - "MS Shell Dlg 2" is now used for the ABOUT dialog box. http://support.microsoft.com/kb/282187
This commit is contained in:
@ -551,7 +551,6 @@ BOOL LSLog(int nLevel, LPCTSTR pszModule, LPCTSTR pszMessage)
|
||||
|
||||
// Clear the file
|
||||
logFile = _wfopen(logfile.c_str(), L"w");
|
||||
fputwc(0xFEFF, logFile);
|
||||
fclose(logFile);
|
||||
}
|
||||
else
|
||||
@ -562,7 +561,7 @@ BOOL LSLog(int nLevel, LPCTSTR pszModule, LPCTSTR pszMessage)
|
||||
|
||||
if (logFound == 1)
|
||||
{
|
||||
logFile = _wfopen(logfile.c_str(), L"a+");
|
||||
logFile = _wfopen(logfile.c_str(), L"a+, ccs=UTF-8");
|
||||
if (logFile)
|
||||
{
|
||||
switch(nLevel)
|
||||
|
Reference in New Issue
Block a user