adds dynamic preview loading and silence minizip warnings (#11)

* make use of the return value for safety

* get rid of warnings
(sizeof(wchar_t) is the same as sizeof(u32), so no problem there)

* dynamic preview loading
fix crash when too many themes have previews available
This commit is contained in:
LiquidFenrir
2017-09-01 03:57:08 +02:00
committed by Alex Taber
parent 4811fa1c4c
commit 70e086b20c
10 changed files with 117 additions and 68 deletions

View File

@@ -29,7 +29,7 @@
#include "common.h"
ssize_t strulen(u16*, ssize_t);
ssize_t strulen(const u16*, ssize_t);
void struacat(u16 *input, const char *addition);
void printu(u16 *input);
u16 *strucat(u16 *destination, const u16 *source);