From a369eb8d46239ccb95aefe3fcc90357abf3d767c Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 8 Jun 2019 12:55:19 +0200 Subject: [PATCH] Fix DrawSpellList --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index dc41f2d05..97bbc7cda 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -479,7 +479,7 @@ void DrawSpellList() for (t = 0; t < 4; t++) { if (plr[myplr]._pSplHotKey[t] == pSpell && plr[myplr]._pSplTHotKey[t] == pSplType) { DrawSpellCel(x, y, pSpellCels, t + 48, 56); - printf(tempstr, "Spell Hot Key #F%i", t + 5); + sprintf(tempstr, "Spell Hot Key #F%i", t + 5); AddPanelString(tempstr, 1); } }