Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
brianferguson committed Jul 20, 2023
1 parent 9b4de97 commit fe96fd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Library/ContextMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void ContextMenu::ShowMenu(POINT pos, Skin* skin)
if (newVersion || downloadedNewVersion)
{
UINT_PTR idm = downloadedNewVersion ? IDM_INSTALL_NEW_VERSION : IDM_NEW_VERSION;
WCHAR * str = GetString(downloadedNewVersion ? ID_STR_INSTALL_NEW_VERSION : ID_STR_UPDATEAVAILABLE);
WCHAR* str = GetString(downloadedNewVersion ? ID_STR_INSTALL_NEW_VERSION : ID_STR_UPDATEAVAILABLE);
InsertMenu(menu, 0, MF_BYPOSITION, idm, str);
HiliteMenuItem(rainmeter.GetTrayIcon()->GetWindow(), menu, 0, MF_BYPOSITION | MF_HILITE);
++sepPos;
Expand Down
2 changes: 1 addition & 1 deletion Library/MeasureWebParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ void MeasureWebParser::ReadOptions(ConfigParser& parser, const WCHAR* section)
std::vector<std::wstring> tokens = ConfigParser::Tokenize(szFlags, L"|");
for (const auto& token : tokens)
{
const WCHAR * flag = token.c_str();
const WCHAR* flag = token.c_str();
if (_wcsicmp(flag, L"ForceReload") == 0)
{
m_InternetOpenUrlFlags |= INTERNET_FLAG_RELOAD;
Expand Down
2 changes: 1 addition & 1 deletion Library/UpdateCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ bool Updater::VerifyInstaller(const std::wstring& path, const std::wstring& file

// Dump installer contents into byte array
size_t fileSize = 0ULL;
BYTE * buffer = FileUtil::ReadFullFile(fullpath, &fileSize).release();
BYTE* buffer = FileUtil::ReadFullFile(fullpath, &fileSize).release();

NTSTATUS status = 0L;
BCRYPT_ALG_HANDLE provider = nullptr;
Expand Down

0 comments on commit fe96fd8

Please sign in to comment.