diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2013-10-05 22:37:22 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2013-10-05 22:37:22 +0000 |
commit | f59b914a721c466e4660e49080fc93ebc1a8fa03 (patch) | |
tree | d248ae3bae9ce6c84d376926f7894fea913d973e /plugins/New_GPG | |
parent | 0a63d1b181e2b086e87ec25c18463c18d95f49fa (diff) |
missed *n*printf related fixes...
git-svn-id: http://svn.miranda-ng.org/main/trunk@6364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG')
-rwxr-xr-x | plugins/New_GPG/src/main.cpp | 4 | ||||
-rwxr-xr-x | plugins/New_GPG/src/options.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/New_GPG/src/main.cpp b/plugins/New_GPG/src/main.cpp index 41418f8058..f754858970 100755 --- a/plugins/New_GPG/src/main.cpp +++ b/plugins/New_GPG/src/main.cpp @@ -708,7 +708,7 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR if(!szKey) { char msg[64]; - mir_snprintf(msg, 127, "Failed to lock memory with error %d", GetLastError()); + mir_snprintf(msg, 64, "Failed to lock memory with error %d", GetLastError()); MessageBoxA(0, msg, "Error", MB_OK); GlobalFree(hMem); } @@ -720,7 +720,7 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR { GlobalFree(hMem); char msg[64]; - mir_snprintf(msg, 127, "Failed write to clipboard with error %d", GetLastError()); + mir_snprintf(msg, 64, "Failed write to clipboard with error %d", GetLastError()); MessageBoxA(0, msg, "Error", MB_OK); } CloseClipboard(); diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp index c30afcfa67..e307670c82 100755 --- a/plugins/New_GPG/src/options.cpp +++ b/plugins/New_GPG/src/options.cpp @@ -357,7 +357,7 @@ static INT_PTR CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP if(!szKey)
{
char msg[64];
- mir_snprintf(msg, 127, "Failed to lock memory with error %d", GetLastError());
+ mir_snprintf(msg, 64, "Failed to lock memory with error %d", GetLastError());
MessageBoxA(0, msg, "Error", MB_OK);
GlobalFree(hMem);
}
@@ -370,7 +370,7 @@ static INT_PTR CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP {
GlobalFree(hMem);
char msg[64];
- mir_snprintf(msg, 127, "Failed write to clipboard with error %d", GetLastError());
+ mir_snprintf(msg, 64, "Failed write to clipboard with error %d", GetLastError());
MessageBoxA(0, msg, "Error", MB_OK);
}
CloseClipboard();
@@ -378,7 +378,7 @@ static INT_PTR CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP else
{
char msg[64];
- mir_snprintf(msg, 127, "Failed to open clipboard with error %d", GetLastError());
+ mir_snprintf(msg, 64, "Failed to open clipboard with error %d", GetLastError());
MessageBoxA(0, msg, "Error", MB_OK);
}
}
|