diff options
-rw-r--r-- | metacontacts/MetaContacts.mdsp | 10 | ||||
-rw-r--r-- | metacontacts/meta_options.c | 7 | ||||
-rw-r--r-- | metacontacts/version.h | 2 |
3 files changed, 8 insertions, 11 deletions
diff --git a/metacontacts/MetaContacts.mdsp b/metacontacts/MetaContacts.mdsp index f026a7a..a99a807 100644 --- a/metacontacts/MetaContacts.mdsp +++ b/metacontacts/MetaContacts.mdsp @@ -99,12 +99,4 @@ extraResourceOptions= 1=resource.rc
[Other]
[History]
-..\..\..\..\..\..\..\msys\include\commctrl.h,85596
-meta_main.c,4980
-edit.c,4303
-metacontacts.h,1021
-addto.c,1011
-..\..\include\m_utils.h,12790
-meta_api.c,9173
-meta_services.c,7865
-meta_utils.c,31679
+meta_options.c,24369
diff --git a/metacontacts/meta_options.c b/metacontacts/meta_options.c index 6af47fd..25b13db 100644 --- a/metacontacts/meta_options.c +++ b/metacontacts/meta_options.c @@ -566,7 +566,12 @@ BOOL CALLBACK DlgProcOptsPriorities(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA if(sel != -1) {
BOOL checked = IsDlgButtonChecked(hwndDlg, IDC_CHK_DEFAULT);
int status = SendMessage(GetDlgItem(hwndDlg, IDC_CMB_STATUS), CB_GETITEMDATA, (WPARAM)sel, 0);
- SetPriority(index, status, checked, GetDlgItemInt(hwndDlg, IDC_ED_PRIORITY, 0, FALSE));
+ if(checked) {
+ SetPriority(index, status, TRUE, 0);
+ SetDlgItemInt(hwndDlg, IDC_ED_PRIORITY, GetPriority(index, status), FALSE);
+ } else {
+ SetPriority(index, status, FALSE, GetDlgItemInt(hwndDlg, IDC_ED_PRIORITY, 0, FALSE));
+ }
EnableWindow(GetDlgItem(hwndDlg, IDC_ED_PRIORITY), !checked);
EnableWindow(GetDlgItem(hwndDlg, IDC_SP_PRIORITY), !checked);
SendMessage( GetParent( hwndDlg ), PSM_CHANGED, 0, 0 );
diff --git a/metacontacts/version.h b/metacontacts/version.h index a566f67..85fcb63 100644 --- a/metacontacts/version.h +++ b/metacontacts/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 14
#define __RELEASE_NUM 0
-#define __BUILD_NUM 0
+#define __BUILD_NUM 1
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|