summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/topbutton.cpp
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2012-06-24 10:31:17 +0000
committerAlexey Kulakov <panda75@bk.ru>2012-06-24 10:31:17 +0000
commit74dedd8bbf8ec9b3ca1e0f07fc603875697aa9b3 (patch)
tree6a734f5d5300e789265d82349a5b24830af2bd2a /plugins/TopToolBar/topbutton.cpp
parent66b49434b600a3b326697393a86c93129f545e92 (diff)
resource buttons aligned
added path browse button for launch buttons service addition/deletion reaction in option view addded git-svn-id: http://svn.miranda-ng.org/main/trunk@598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/topbutton.cpp')
-rw-r--r--plugins/TopToolBar/topbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TopToolBar/topbutton.cpp b/plugins/TopToolBar/topbutton.cpp
index d6d5b1cce9..c0bb99ae55 100644
--- a/plugins/TopToolBar/topbutton.cpp
+++ b/plugins/TopToolBar/topbutton.cpp
@@ -111,7 +111,7 @@ void TopButtonInt::SaveSettings(int &SepCnt, int &LaunchCnt)
{
char buf[255];
- if (dwFlags & TTBBF_ISSEPARATOR) {
+ if (dwFlags & (TTBBF_ISSEPARATOR | TTBBF_INTERNAL)) {
char buf1[10];
_itoa(++SepCnt, buf1, 10);
char buf2[20];
@@ -120,7 +120,7 @@ void TopButtonInt::SaveSettings(int &SepCnt, int &LaunchCnt)
DBWriteContactSettingByte(0, TTB_OPTDIR, AS(buf, buf2, "_Position"), arrangedpos);
DBWriteContactSettingByte(0, TTB_OPTDIR, AS(buf, buf2, "_Visible"), dwFlags & TTBBF_VISIBLE);
}
- else if (dwFlags & TTBBF_ISLBUTTON) {
+ else if (dwFlags & (TTBBF_ISLBUTTON | TTBBF_INTERNAL)) {
char buf1[10];
_itoa(++LaunchCnt, buf1, 10);
char buf2[20];