Permalink
Browse files

Forgot to increase buffer size for font name

  • Loading branch information...
phoboslab committed Nov 7, 2012
1 parent 445eb15 commit 10c9b4858f0455eb24023ca03da74d61d91c249e
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/Ejecta/EJCanvas/EJBindingCanvas.m
@@ -104,7 +104,7 @@ - (EJTexture *)texture {
EJ_BIND_SET(font, ctx, value) {
char string[64]; // Long font names are long
JSStringRef jsString = JSValueToStringCopy( ctx, value, NULL );
- JSStringGetUTF8CString(jsString, string, 32);
+ JSStringGetUTF8CString(jsString, string, 64);
// Yeah, oldschool!
float size = 0;

0 comments on commit 10c9b48

Please sign in to comment.