summaryrefslogtreecommitdiff
path: root/protocols/MinecraftDynmap
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-17 15:56:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-17 16:04:21 +0300
commitc6a0095ad307a43fc83497bbb3efbc60052f6ada (patch)
tree3fe6e293138d9a8713c6b67a3c24a5e57d099343 /protocols/MinecraftDynmap
parent6163df27ad6fd2a5da5d9bbb48bb457d8a07a2b6 (diff)
- constructor & destructor for NetlibBoundPort
- warning fix - randomizer must work even if the system service doesn't exist
Diffstat (limited to 'protocols/MinecraftDynmap')
-rw-r--r--protocols/MinecraftDynmap/src/dialogs.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/protocols/MinecraftDynmap/src/dialogs.cpp b/protocols/MinecraftDynmap/src/dialogs.cpp
index 7fd8b0d3bc..48c8c19eeb 100644
--- a/protocols/MinecraftDynmap/src/dialogs.cpp
+++ b/protocols/MinecraftDynmap/src/dialogs.cpp
@@ -48,20 +48,6 @@ HANDLE GetIconHandle(const char* name) {
// Dialogs
-static BOOL LoadDBCheckState(MinecraftDynmapProto* ppro, HWND hwnd, int idCtrl, const char* szSetting, BYTE bDef = 0)
-{
- BOOL state = db_get_b(NULL, ppro->m_szModuleName, szSetting, bDef);
- CheckDlgButton(hwnd, idCtrl, state ? BST_CHECKED : BST_UNCHECKED);
- return state;
-}
-
-static BOOL StoreDBCheckState(MinecraftDynmapProto* ppro, HWND hwnd, int idCtrl, const char* szSetting)
-{
- BOOL state = IsDlgButtonChecked(hwnd, idCtrl);
- db_set_b(NULL, ppro->m_szModuleName, szSetting, (BYTE)state);
- return state;
-}
-
static void LoadDBText(MinecraftDynmapProto* ppro, HWND hwnd, int idCtrl, const char* szSetting)
{
ptrW tstr(db_get_wsa(NULL, ppro->m_szModuleName, szSetting));