summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/CloudFile/CloudFile.vcxproj3
-rw-r--r--protocols/CloudFile/src/oauth.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/protocols/CloudFile/CloudFile.vcxproj b/protocols/CloudFile/CloudFile.vcxproj
index ef45ab1536..bc733a9b76 100644
--- a/protocols/CloudFile/CloudFile.vcxproj
+++ b/protocols/CloudFile/CloudFile.vcxproj
@@ -84,5 +84,8 @@
<Link>
<AdditionalDependencies>comctl32.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
+ <ClCompile>
+ <ExceptionHandling>Sync</ExceptionHandling>
+ </ClCompile>
</ItemDefinitionGroup>
</Project> \ No newline at end of file
diff --git a/protocols/CloudFile/src/oauth.cpp b/protocols/CloudFile/src/oauth.cpp
index 308f8aa2b8..fb243d67e4 100644
--- a/protocols/CloudFile/src/oauth.cpp
+++ b/protocols/CloudFile/src/oauth.cpp
@@ -22,7 +22,7 @@ bool COAuthDlg::OnInitDialog()
bool COAuthDlg::OnApply()
{
m_service->ForkThread(m_requestAccessTokenThread, m_hwnd);
- return true;
+ return false;
}
void COAuthDlg::Code_OnChange(CCtrlBase*)