xbm.c: refactor and load builtin icons as fallback

This commit is contained in:
Johan Malm 2020-07-13 20:09:34 +01:00
parent 1330071e0c
commit 8a42bc9184
6 changed files with 86 additions and 63 deletions

View file

@ -80,6 +80,10 @@ static void get_special_char_token()
struct token *xbm_tokenize(char *buffer)
{
tokens = NULL;
nr_tokens = 0;
alloc_tokens = 0;
current_buffer_position = buffer;
for (;;) {