# HG changeset patch
# User nemo
# Date 1251318747 0
# Node ID 351abbbb12f341a46056de9eb678ad507de63414
# Parent  e4941a7986d6551cfbc95f5479398c0882c744fb
Lower bound on speech text width for proper rendering

diff -r e4941a7986d6 -r 351abbbb12f3 hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Tue Aug 25 20:54:11 2009 +0000
+++ b/hedgewars/uStore.pas	Wed Aug 26 20:32:27 2009 +0000
@@ -728,6 +728,7 @@
 
 if length(s) = 0 then s:= '...';
 TTF_SizeUTF8(Fontz[font].Handle, Str2PChar(s), w, h);
+if w<8 then w:= 8;
 j:= 0;
 if (length(s) > 20) then
     begin