Tabs/typo in zint.h; PostNet -> POSTNET; ui: shortcuts, tooltips; tests inkscape -> libreoffice

This commit is contained in:
gitlost 2020-10-03 22:51:08 +01:00
parent 36c19053d7
commit e37a82a8f1
90 changed files with 1048 additions and 840 deletions

View file

@ -46,7 +46,7 @@ static void test_pixel_plot(int index, int debug) {
struct item {
int width;
int height;
unsigned char *pattern;
char *pattern;
int repeat;
};
// s/\/\*[ 0-9]*\*\//\=printf("\/*%3d*\/", line(".") - line("'<"))
@ -65,8 +65,6 @@ static void test_pixel_plot(int index, int debug) {
int data_size = ARRAY_SIZE(data);
char *gif = "out.gif";
char escaped[1024];
int escaped_size = 1024;
char data_buf[19 * 32 + 1]; // 19 * 32 == 608
@ -93,7 +91,7 @@ static void test_pixel_plot(int index, int debug) {
}
assert_equal(size, (int) strlen(data_buf), "i:%d gif_pixel_plot size %d != strlen(data_buf) %d\n", i, size, (int) strlen(data_buf));
symbol->bitmap = data_buf;
symbol->bitmap = (unsigned char *) data_buf;
ret = gif_pixel_plot(symbol, data_buf);
assert_zero(ret, "i:%d gif_pixel_plot ret %d != 0 (%s)\n", i, ret, symbol->errtxt);