about summary refs log tree commit diff
path: root/src/engine/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/interface.h')
-rw-r--r--src/engine/interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/interface.h b/src/engine/interface.h
index 10a8794b..ba8dacce 100644
--- a/src/engine/interface.h
+++ b/src/engine/interface.h
@@ -750,7 +750,7 @@ float client_intratick();
 int client_tickspeed();
 
 void gfx_pretty_text(float x, float y, float size, const char *text);
-float gfx_pretty_text_width(float size, const char *text);
+float gfx_pretty_text_width(float size, const char *text, int length = -1);
 
 void gfx_getscreen(float *tl_x, float *tl_y, float *br_x, float *br_y);