medfall

A super great game engine
Log | Files | Refs

commit 9ee848eb9d393bcb6e474826cf4b5714a84575c9
parent edee6769e92124056ef1ce2ecb813e1f13527220
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat May 27 22:44:54 +0300

Tiny formatting fix

Diffstat:
str.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/str.h b/str.h @@ -44,7 +44,9 @@ public: } void truncate( size_t len ) { - if( len >= length ) return; + if( len >= length ) { + return; + } buf[ len ] = '\0'; length = len; }