X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=r_stats.c;h=55c43e7ed8a7272a689baa23a463c6c434091e98;hb=HEAD;hp=edb4625f54804640bdb7e25c3aaa2c7f2723b982;hpb=5ad6c0e8577478422c10d7ae79fb61b88ac5ae85;p=xonotic%2Fdarkplaces.git diff --git a/r_stats.c b/r_stats.c index edb4625f..55c43e7e 100644 --- a/r_stats.c +++ b/r_stats.c @@ -218,10 +218,10 @@ void R_TimeReport(const char *desc) if (speedstringcount + length > (vid_conwidth.integer / 8)) { - strlcat(r_speeds_timestring, "\n", sizeof(r_speeds_timestring)); + dp_strlcat(r_speeds_timestring, "\n", sizeof(r_speeds_timestring)); speedstringcount = 0; } - strlcat(r_speeds_timestring, tempbuf, sizeof(r_speeds_timestring)); + dp_strlcat(r_speeds_timestring, tempbuf, sizeof(r_speeds_timestring)); speedstringcount += length; } @@ -504,7 +504,7 @@ void R_TimeReport_EndFrame(void) i++; x2 = max(x, x + width - sum * scalex); y2 = y + height - (data[index] - range_min) * scaley; - DrawQ_Line(1, x1, y1, x2, y2, r_speeds_graph_colors[color][0], r_speeds_graph_colors[color][1], r_speeds_graph_colors[color][2], r_speeds_graph_colors[color][3], 0, true); + DrawQ_Line(1, x1, y1, x2, y2, r_speeds_graph_colors[color][0], r_speeds_graph_colors[color][1], r_speeds_graph_colors[color][2], r_speeds_graph_colors[color][3], 0); } } }