index
:
age_of_empires_ii_definitive-edition.git
Age of Empires 2 - Definitive Edition ESP
log msg
author
committer
range
master
about
summary
refs
log
tree
commit
diff
path:
root
/
Utility.h
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'Utility.h')
-rw-r--r--
Utility.h
2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility.h b/Utility.h
index a943bc1..a67938e 100644
--- a/
Utility.h
+++ b/
Utility.h
@@ -65,7 +65,7 @@ public:
static void CopyToClipboard(uint64_t addy)
{
char szBuffer[2048];
- sprintf(szBuffer, "0x%llx", addy);
+ sprintf_s(szBuffer, "0x%llx", addy);
const char* output = szBuffer;
const size_t len = strlen(output) + 1;
HGLOBAL hMem = GlobalAlloc(GMEM_MOVEABLE, len);