mirror of
https://github.com/MathiasLui/CSGO-Projects.git
synced 2025-05-06 22:01:18 +00:00
Hopefully fix unwanted output after string in-game
* There were some random characters sometimes after outputs. Probably because of the missing \0, so added it back to the length
This commit is contained in:
parent
8b6fcde7fe
commit
5b7ea37d8e
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ namespace DamagePrinterGUI
|
|||
|
||||
COPYDATASTRUCT data;
|
||||
data.dwData = 0;
|
||||
data.cbData = (uint)System.Text.ASCIIEncoding.UTF8.GetByteCount(cmds[i]);// (uint)cmds[i].Length + 1;
|
||||
data.cbData = (uint)System.Text.ASCIIEncoding.UTF8.GetByteCount(cmds[i]) + 1;// (uint)cmds[i].Length + 1;
|
||||
data.lpData = cmds[i];
|
||||
|
||||
if (triggeredByInGameCommand)
|
||||
|
|
Loading…
Add table
Reference in a new issue