Commit a680faf4 authored by Sebastian Schinzel's avatar Sebastian Schinzel

Bugfix für Off-by-one-Fehler in print_string(), wodurch das letzte Zeichen abgeschnitten wurde.

parent 28ad2afd
......@@ -24,7 +24,7 @@ string* new_string(size_t len) {
void print_string(string* str) {
for(int i=0; i < str->pos; i++) {
for(int i=0; i <= str->pos; i++) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment