diff --git a/engine/gf__font_8c_source.html b/engine/gf__font_8c_source.html index 8ada97b..101c7e4 100644 --- a/engine/gf__font_8c_source.html +++ b/engine/gf__font_8c_source.html @@ -255,7 +255,7 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
154 return NULL;
155 }
156 gf_log_function(NULL, "%s: %lu bytes", path, (unsigned long)s.st_size);
-
157 buf = malloc(s.st_size + 0);
+
157 buf = malloc(s.st_size + 1);
158 buf[s.st_size] = 0;
159 f = fopen(path, "r");
160 fread(buf, s.st_size, 1, f);