mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetics
This commit is contained in:
parent
cd4bf6d17a
commit
fed4b080b0
@ -158,7 +158,7 @@ if not "%CERTFILE%" == "" (
|
||||
if exist "BuildLog.txt" del "BuildLog.txt"
|
||||
|
||||
for /F "tokens=1-4 delims=:.," %%a in ("%TIME%") do (
|
||||
set /A "BUILD_END_TIMESTAMP=(((%%a * 60) + 1%%b %% 100)* 60+1%%c %% 100) * 100 + 1%%d %% 100"
|
||||
set /A "BUILD_END_TIMESTAMP=(((%%a * 60) + 1%%b %% 100)* 60 + %%c %% 100) * 100 + 1%%d %% 100"
|
||||
)
|
||||
set /A "BUILD_ELAPSED_TIME=(%BUILD_END_TIMESTAMP% - %BUILD_BEGIN_TIMESTAMP%) / 100"
|
||||
echo * Build complete. Elapsed time: %BUILD_ELAPSED_TIME% sec
|
||||
|
@ -102,7 +102,7 @@ void ExpandEnvironmentVariables(std::wstring& path)
|
||||
DWORD bufSize = 4096;
|
||||
WCHAR* buffer = new WCHAR[bufSize];
|
||||
|
||||
// %APPDATA% is a special casem
|
||||
// %APPDATA% is a special case.
|
||||
pos = path.find(L"%APPDATA%", pos);
|
||||
if (pos != std::wstring::npos)
|
||||
{
|
||||
@ -146,5 +146,4 @@ void ExpandEnvironmentVariables(std::wstring& path)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace PathUtil
|
||||
|
Loading…
Reference in New Issue
Block a user