summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/options.cpp')
-rwxr-xr-xplugins/New_GPG/src/options.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}
}