commit b65595de75ef12e42c09ed6a624630c93bfdc615
parent 272fb3f9c4d47cfba81a16fe5d3ebccc7c2d323b
Author: Oshgnacknak <osh@oshgnacknak.de>
Date: Sat, 18 Dec 2021 21:29:18 +0100
Fix buffer
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/print.cpp b/examples/print.cpp
@@ -53,8 +53,8 @@ int main() {
buf[2] = 'f';
buf[3] = 'f';
buf[4] = 'e';
- buf[4] = 'r';
- buf[5] = '\0';
+ buf[5] = 'r';
+ buf[6] = '\0';
osh::println("Printing char buffers: ", buf);
Vector2 v = { 69, 420 };