summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r--plugins/DbEditorPP/src/main_window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/DbEditorPP/src/main_window.cpp b/plugins/DbEditorPP/src/main_window.cpp
index 20a066e0ed..6d15bad4dd 100644
--- a/plugins/DbEditorPP/src/main_window.cpp
+++ b/plugins/DbEditorPP/src/main_window.cpp
@@ -286,9 +286,10 @@ void CMainDlg::OnDestroy()
}
}
- g_plugin.setByte("HexMode", (byte)g_Hex);
- g_plugin.setByte("SortMode", (byte)g_Order);
- g_plugin.setByte("DontAllowInLineEdit", (byte)!g_Inline);
+ g_plugin.setByte("HexMode", (uint8_t)g_Hex);
+ g_plugin.setByte("SortMode", (uint8_t)g_Order);
+ g_plugin.setByte("DontAllowInLineEdit", (uint8_t)!g_Inline);
+ g_plugin.setWord("Splitter", (uint16_t)m_splitterPos);
WINDOWPLACEMENT wp;
wp.length = sizeof(WINDOWPLACEMENT);
@@ -367,7 +368,6 @@ void CMainDlg::onChange_Splitter(CSplitter *)
if (m_splitterPos > iMaxPanelWidth)
m_splitterPos = iMaxPanelWidth;
- g_plugin.setWord("Splitter", (uint16_t)m_splitterPos);
PostMessage(m_hwnd, WM_SIZE, 0, 0);
}