1
0

Change name to SiaDrive

This commit is contained in:
Scott E. Graves
2017-02-25 23:21:11 -06:00
parent cdd7b7e293
commit b7579d5e0f
5 changed files with 6 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ inline static T& ReplaceStringInPlace(T& subject, typename T::value_type* search
static BOOL RetryAction(std::function<BOOL()> func, std::uint16_t retryCount, const DWORD& retryDelay)
{
BOOL ret = FALSE;
while (retryCount-- && !(ret = func()))
while (retryCount-- && !((ret = func())))
{
::Sleep(retryDelay);
}

View File

@@ -1,6 +1,6 @@
<html>
<head>
<title>Sia Drive</title>
<title>SiaDrive</title>
<meta http-equiv="X-UA-Compatible" content="IE=11" />
<style>
body {

Binary file not shown.

View File

@@ -44,6 +44,7 @@ CSiaDriveApp theApp;
BOOL CSiaDriveApp::InitInstance()
{
CEventSystem::EventSystem.Start();
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
@@ -102,6 +103,8 @@ BOOL CSiaDriveApp::InitInstance()
ControlBarCleanUp();
#endif
CEventSystem::EventSystem.Stop();
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;

View File

@@ -231,7 +231,7 @@ BOOL CSiaDriveDlg::OnInitDialog()
{
CDHtmlDialog::OnInitDialog();
_tray.Create(this, IDR_TRAY_MENU, L"Sia Drive", m_hIcon, WM_TRAYNOTIFY);
_tray.Create(this, IDR_TRAY_MENU, L"SiaDrive", m_hIcon, WM_TRAYNOTIFY);
_tray.SetDefaultMenuItem(ID_MNU_ITEM_TOGGLE, FALSE);
// Add "About..." menu item to system menu.