diff --git a/backend/ultra.c b/backend/ultra.c index 521d7716..807ea38a 100644 --- a/backend/ultra.c +++ b/backend/ultra.c @@ -798,10 +798,10 @@ INTERNAL int ultracode(struct zint_symbol *symbol, const unsigned char source[], char tilepat[6]; int tilex, tiley; int dcc; -#ifdef _MSC_VER - int* data_codewords; - char* pattern; -#endif /* _MSC_VER */ +#ifdef _MSC_VER + int* data_codewords; + char* pattern; +#endif /* _MSC_VER */ cw_memalloc = in_length * 2; if (cw_memalloc < 283) { @@ -1026,9 +1026,5 @@ INTERNAL int ultracode(struct zint_symbol *symbol, const unsigned char source[], } } - /* Override any user selected colours */ - strcpy(symbol->fgcolour, "000000"); - strcpy(symbol->bgcolour, "ffffff"); - return 0; }