Change name to SiaDrive
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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.
@@ -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;
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user