diff options
author | Erich Eckner <git@eckner.net> | 2018-10-26 11:01:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-26 11:01:27 +0200 |
commit | 2be45d6c729a12213ef690aab3a21ec7be60bed2 (patch) | |
tree | 5813be548e516503538a59018ba8bfb4cf167e43 /fonts.c | |
parent | 3470a4ce3a16f51d17127a202bf798d71544ffae (diff) | |
download | anzeige-2be45d6c729a12213ef690aab3a21ec7be60bed2.tar.xz |
fonts.c: style
Diffstat (limited to 'fonts.c')
-rw-r--r-- | fonts.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,8 @@ #include "fonts.h" -int render(char *input, int input_len, char *output, int max_output_len, int skip_unprintables) { +int render(char *input, int input_len, char *output, int max_output_len, int skip_unprintables) +{ memset(output, 0, max_output_len); int output_i = 0; for (int input_i=0; (input_i < input_len) && (output_i*(SYMBOL_WIDTH+1) < max_output_len) && input[input_i]; input_i++) { |