Index: src/plugin/PluginUserSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginUserSettings.cpp |
+++ b/src/plugin/PluginUserSettings.cpp |
@@ -17,7 +17,7 @@ |
#include "PluginStdAfx.h" |
#include "PluginUserSettings.h" |
-#include "AdblockPlusClient.h" |
+#include "AdblockPlusClient.h" |
#include "PluginSettings.h" |
#include "../shared/Dictionary.h" |
#include <unordered_map> |
@@ -225,7 +225,7 @@ |
std::map<CString, CString> languageTitleList = settings->GetFilterLanguageTitleList(); |
if (index < 0 || index >= static_cast<int>(languageTitleList.size())) |
- return DISP_E_EXCEPTION; |
+ return DISP_E_BADINDEX; |
CString language; |
@@ -262,7 +262,7 @@ |
std::map<CString, CString> languageTitleList = settings->GetFilterLanguageTitleList(); |
if (index < 0 || index >= static_cast<int>(languageTitleList.size())) |
- return DISP_E_EXCEPTION; |
+ return DISP_E_BADINDEX; |
CString languageTitle; |