diff options
author | René Schümann <white06tiger@gmail.com> | 2014-06-12 22:32:51 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2014-06-12 22:32:51 +0000 |
commit | 09de1c5841efc97fedfbd0f5b3b17124b132e02f (patch) | |
tree | 362f834784b9e4de666c705020d926e07eb9ce6a /plugins/SendScreenshotPlus/src | |
parent | dd8ef0927d28b233599e853870c46b8597b1966b (diff) |
SendSS:
! fixed what r9451 was meant to fix (well both should work, but this one is correct (at least for MSVC, kills MinGW build...))
also updated version to reflect changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9452 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src')
-rw-r--r-- | plugins/SendScreenshotPlus/src/UMainForm.cpp | 10 | ||||
-rw-r--r-- | plugins/SendScreenshotPlus/src/version.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index 2b663c3346..1244d1426d 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -238,13 +238,13 @@ void TfrmMain::wmInitdialog(WPARAM wParam, LPARAM lParam) { ComboBox_SetCurSel (hCtrl,0); if(m_MonitorCount >1) { TCHAR tszTemp[120]; - for (int i = 0; i < m_MonitorCount; ++i) { - mir_sntprintf(tszTemp, SIZEOF(tszTemp),_T("%i. %s%s"), - i+1, + for (size_t mon=0; mon<m_MonitorCount; ++mon) { /// @todo : fix format for non MSVC compilers + mir_sntprintf(tszTemp, SIZEOF(tszTemp),_T("%Iu. %s%s"), + mon+1, TranslateT("Monitor"), - (m_Monitors[i].dwFlags & MONITORINFOF_PRIMARY) ? TranslateT(" (primary)") : _T("") + (m_Monitors[mon].dwFlags & MONITORINFOF_PRIMARY) ? TranslateT(" (primary)") : _T("") ); - ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, tszTemp) , i+1); + ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, tszTemp) , mon+1); } ComboBox_SelectItemData (hCtrl, -1, m_opt_cboxDesktop); //use Workaround for MS bug ComboBox_SelectItemData } diff --git a/plugins/SendScreenshotPlus/src/version.h b/plugins/SendScreenshotPlus/src/version.h index 8c3135b7de..9915695f4b 100644 --- a/plugins/SendScreenshotPlus/src/version.h +++ b/plugins/SendScreenshotPlus/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 8 #define __RELEASE_NUM 5 -#define __BUILD_NUM 0 +#define __BUILD_NUM 1 #include <stdver.h> |