summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-02-05 23:51:27 +0300
committeraunsane <aunsane@gmail.com>2018-02-05 23:51:27 +0300
commit7d4ec46f0a42169535eb3e674e09da4d040867d6 (patch)
tree2c0cd88ae7d747e7749be86910a4551d19354eda
parentc3e7dd7529dc764922e2e728843fb1960caa1838 (diff)
Steam: setup filters
-rw-r--r--protocols/Steam/Steam.vcxproj.filters10
-rw-r--r--protocols/Steam/res/Resource.rc1
-rw-r--r--protocols/Steam/src/steam_options.cpp2
3 files changed, 11 insertions, 2 deletions
diff --git a/protocols/Steam/Steam.vcxproj.filters b/protocols/Steam/Steam.vcxproj.filters
index a8ab01c0e5..2ff49ad919 100644
--- a/protocols/Steam/Steam.vcxproj.filters
+++ b/protocols/Steam/Steam.vcxproj.filters
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Header Files\api">
+ <UniqueIdentifier>{f07fed5a-9010-4d64-9586-bdf123a38be8}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="src\api\*.h">
+ <Filter>Header Files\api</Filter>
+ </ClInclude>
+ </ItemGroup>
<Import Project="$(ProjectDir)..\..\build\vc.common\common.filters" />
</Project>
diff --git a/protocols/Steam/res/Resource.rc b/protocols/Steam/res/Resource.rc
index 913e4b4a32..d6497a4807 100644
--- a/protocols/Steam/res/Resource.rc
+++ b/protocols/Steam/res/Resource.rc
@@ -63,7 +63,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_STEAM ICON "steam.ico"
-
IDI_GAMING ICON "gaming.ico"
#endif // Russian (Russia) resources
diff --git a/protocols/Steam/src/steam_options.cpp b/protocols/Steam/src/steam_options.cpp
index f28648c69b..bfc0255b09 100644
--- a/protocols/Steam/src/steam_options.cpp
+++ b/protocols/Steam/src/steam_options.cpp
@@ -27,7 +27,7 @@ void CSteamOptionsMain::OnInitDialog()
SendMessage(m_password.GetHwnd(), EM_LIMITTEXT, 64, 0);
SendMessage(m_group.GetHwnd(), EM_LIMITTEXT, 64, 0);
- m_pollingErrorLimitSpin.SetRange(255, 1);
+ m_pollingErrorLimitSpin.SetRange(255, 0);
m_pollingErrorLimitSpin.SetPosition(m_proto->getByte("PollingErrorsLimit", STEAM_API_POLLING_ERRORS_LIMIT));
}