From f1d38c7cd246ab1b163bd4a0d70471ad452a331b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 13 Jun 2017 20:20:53 +0300 Subject: db_autobackups: backups number changed from 100 to 9999 (issue #813) --- plugins/Db_autobackups/src/options.cpp | 2 +- plugins/Db_autobackups/src/resource.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Db_autobackups/src') diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp index bd09bf703d..575f39ab4b 100644 --- a/plugins/Db_autobackups/src/options.cpp +++ b/plugins/Db_autobackups/src/options.cpp @@ -150,7 +150,7 @@ int SetDlgState(HWND hwndDlg) SendDlgItemMessage(hwndDlg, SPIN_PERIOD, UDM_SETRANGE32, 1, (LPARAM)60); SetDlgItemText(hwndDlg, IDC_ED_PERIOD, _itow(new_options.period, buff, 10)); - SendDlgItemMessage(hwndDlg, SPIN_NUMBACKUPS, UDM_SETRANGE32, 1, (LPARAM)100); + SendDlgItemMessage(hwndDlg, SPIN_NUMBACKUPS, UDM_SETRANGE32, 1, (LPARAM)9999); SetDlgItemText(hwndDlg, IDC_ED_NUMBACKUPS, _itow(new_options.num_backups, buff, 10)); SetDlgItemText(hwndDlg, IDC_ED_FOLDER, new_options.folder); diff --git a/plugins/Db_autobackups/src/resource.h b/plugins/Db_autobackups/src/resource.h index 40fb887c76..fce60af1e5 100644 --- a/plugins/Db_autobackups/src/resource.h +++ b/plugins/Db_autobackups/src/resource.h @@ -1,6 +1,6 @@ //{{NO_DEPENDENCIES}} -// Включаемый файл, созданный в Microsoft Visual C++. -// Используется D:\Others\SVN\MirandaNG\trunk\plugins\Db_autobackups\res\db_autobackups.rc +// Microsoft Visual C++ generated include file. +// Used by D:\Miranda NG Git_orig\plugins\Db_autobackups\res\db_autobackups.rc // #define IDD_OPTIONS 101 #define IDI_ICON1 270 @@ -32,7 +32,7 @@ // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 272 +#define _APS_NEXT_RESOURCE_VALUE 273 #define _APS_NEXT_COMMAND_VALUE 40018 #define _APS_NEXT_CONTROL_VALUE 1676 #define _APS_NEXT_SYMED_VALUE 101 -- cgit v1.2.3