From ab657b018e81d405ebb1d39c2b611507fbbf6cf2 Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Tue, 15 Jun 2010 19:34:08 +0000 Subject: [PATCH] Fix issue 356: Crash when using font size > 99 git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1511 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- src/buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buttons.c b/src/buttons.c index 371e9cc2..13fafa0b 100644 --- a/src/buttons.c +++ b/src/buttons.c @@ -4717,7 +4717,7 @@ void Button_Text() int new_height; int clicked_button; const int NB_FONTS=8; - char size_buffer[3]; + char size_buffer[4]; T_Special_button * input_size_button; T_Special_button * input_text_button; T_Special_button * preview_button;