summaryrefslogtreecommitdiff
path: root/textscreen/txt_desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_desktop.c')
-rw-r--r--textscreen/txt_desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/textscreen/txt_desktop.c b/textscreen/txt_desktop.c
index 2316145f..31577ec8 100644
--- a/textscreen/txt_desktop.c
+++ b/textscreen/txt_desktop.c
@@ -263,7 +263,7 @@ void TXT_DrawASCIITable(void)
n = y * 16 + x;
TXT_GotoXY(x * 5, y);
- sprintf(buf, "%02x ", n);
+ TXT_snprintf(buf, sizeof(buf), "%02x ", n);
TXT_Puts(buf);
// Write the character directly to the screen memory buffer: