diff options
Diffstat (limited to 'render/render_text.c')
-rw-r--r-- | render/render_text.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/render/render_text.c b/render/render_text.c index df9317c..6b801eb 100644 --- a/render/render_text.c +++ b/render/render_text.c @@ -4,6 +4,9 @@ void char_width_init (int *char_width) { for (int i=0; i<128; char_width[i++]=5); + char_width['('] = 2; char_width[')'] = 2; + char_width['['] = 2; char_width[']'] = 2; + char_width['{'] = 3; char_width['}'] = 3; char_width[','] = 1; char_width['-'] = 3; char_width['.'] = 1; char_width['/'] = 4; char_width['!'] = 1; char_width[':'] = 1; char_width[';'] = 1; |