summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/tbox/src/tbox/platform/windows/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/tbox/src/tbox/platform/windows/print.c b/core/src/tbox/src/tbox/platform/windows/print.c
index f9af0fb90..7265a7e5d 100644
--- a/core/src/tbox/src/tbox/platform/windows/print.c
+++ b/core/src/tbox/src/tbox/platform/windows/print.c
@@ -52,7 +52,7 @@ tb_void_t tb_print(tb_char_t const* string)
// the data and size
tb_byte_t const* data = (tb_byte_t const*)string;
- tb_size_t size = tb_strlen(string) + 1;
+ tb_size_t size = tb_strlen(string);
// write string to stdout
tb_size_t writ = 0;