summaryrefslogtreecommitdiff
path: root/sdl2/ttf.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-06-13 00:09:03 +0200
committerDavid Thompson <dthompson2@worcester.edu>2019-06-12 21:01:19 -0400
commit12bd1fc8a946fae319374a8d868a7a9320501336 (patch)
treec7be5e2c4fe783518b615c880785116ec8aa51e1 /sdl2/ttf.scm
parent0e85e89d730b99472454ca9327c228362dbe136d (diff)
ttf: Fix incorrect function name in error message.
* sdl2/ttf.scm (render-font-blended): Fix function name in error message.
Diffstat (limited to 'sdl2/ttf.scm')
-rw-r--r--sdl2/ttf.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl2/ttf.scm b/sdl2/ttf.scm
index aeb1577..4c4d3be 100644
--- a/sdl2/ttf.scm
+++ b/sdl2/ttf.scm
@@ -89,5 +89,5 @@ containing the results."
(string->pointer text)
((@@ (sdl2) color->struct) color))))
(if (null-pointer? ptr)
- (sdl-error "render-font-solid" "failed to render text")
+ (sdl-error "render-font-blended" "failed to render text")
((@@ (sdl2 surface) wrap-surface) ptr))))