summaryrefslogtreecommitdiffstats
path: root/apps/gui/line.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-11-21 00:14:52 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2022-11-21 00:25:12 -0500
commit658cc9588569af9cba054ad6f1b1e92204961d20 (patch)
tree2f95a8ed522bd2247fea0db25bfa4010e91326ec /apps/gui/line.c
parenteb9b3513faa0d7e5bc2d7bb9ed098801191af1d8 (diff)
downloadrockbox-658cc95885.tar.gz
rockbox-658cc95885.zip
remove some sprintf putsxy calls in favor of putsxyf
we now have putsxyf in screens[] so no need for a separate buffer in these cases Change-Id: Ife0738e731f03d255f512bab3d5bb07b8be8693d
Diffstat (limited to 'apps/gui/line.c')
-rw-r--r--apps/gui/line.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/line.c b/apps/gui/line.c
index d319ff3c51..7e84aa7b31 100644
--- a/apps/gui/line.c
+++ b/apps/gui/line.c
@@ -264,8 +264,7 @@ next:
else
{
/* any other character here is an erroneous format string */
- snprintf(tempbuf, sizeof(tempbuf), "<E:%c>", ch);
- display->putsxy(xpos, y, tempbuf);
+ display->putsxyf(xpos, y, "<E:%c>", ch);
/* Don't consider going forward, fix the caller */
return;
}