Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
brianferguson committed Oct 9, 2022
1 parent c47f2a6 commit 43cf44b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Build/Build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ setlocal EnableDelayedExpansion
:: |skip_delay_flag|: 1 or 0. 1 = skip any "timeout" commands (for github actions). 0 = adds a 2 second
:: delay when signing the binaries to prevent file locking by Windows.
:: Examples:
:: Build.bat final 4 4 0 3520 0 -> Rainmeter-4.4.0.exe
:: Build.bat release 4 4 0 3520 0 -> Rainmeter-4.4.0.exe
:: Build.bat pre 4 4 1 3521 1 -> Rainmeter-4.4.1-prerelease.exe
:: Build.bat languages -> No installer, just update the language .dll files

Expand Down
4 changes: 2 additions & 2 deletions Library/MeasurePlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ MeasurePlugin::~MeasurePlugin()
if (GetModuleFileName(m_Plugin, pluginPath, _countof(pluginPath)) > 0UL)
{
// Sometimes GetModuleFileName and/or LoadLibrary retrieves portions of the path
// in the wrong case (ex. ".DLL", instead of ".dll"), so get the acutal file path
// in the wrong case (ex. ".DLL", instead of ".dll"), so get the actual file path
if (GetLongPathName(pluginPath, pluginPath, _countof(pluginPath)) > 0UL)
{
std::wstring tmpStr = pluginPath;
Expand Down Expand Up @@ -177,7 +177,7 @@ void MeasurePlugin::ReadOptions(ConfigParser& parser, const WCHAR* section)
if (GetModuleFileName(m_Plugin, pluginPath, _countof(pluginPath)) > 0UL)
{
// Sometimes GetModuleFileName and/or LoadLibrary retrieves portions of the path
// in the wrong case (ex. ".DLL", instead of ".dll"), so get the acutal file path
// in the wrong case (ex. ".DLL", instead of ".dll"), so get the actual file path
if (GetLongPathName(pluginPath, pluginPath, _countof(pluginPath)) > 0UL)
{
std::wstring tmpStr = pluginPath;
Expand Down

0 comments on commit 43cf44b

Please sign in to comment.