mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 18:55:49 +00:00
This commit is contained in:
@@ -1213,7 +1213,7 @@ DEFINE_HOOK_FUNCTION(
|
||||
memcpy(output, memory + mread_ptr, mread_len);
|
||||
out_len += mread_len;
|
||||
|
||||
// skip \0's
|
||||
// detect and skip \0 if it appears at the end
|
||||
if (output[out_len-1] == '\0')
|
||||
out_len--;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user