X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=tools%2Ffile2include.c;h=775440cba9f1072e558494968b14a05eacd9e184;hb=58221d7e876c2f75ae7696aad853d81ccd76fb7a;hp=e602f937f15603f94212980219151ed39c829e3c;hpb=e75ac7039a51becdb80ea585443e9c2fdb58f716;p=oweals%2Fu-boot.git diff --git a/tools/file2include.c b/tools/file2include.c index e602f937f1..775440cba9 100644 --- a/tools/file2include.c +++ b/tools/file2include.c @@ -18,7 +18,6 @@ #include #include #include -#include /* Size of the blocks written to the compressed file */ #define BLOCK_SIZE 8 @@ -84,7 +83,7 @@ int main(int argc, char *argv[]) printf("\\x%02x", buf[j]); printf("\"}, /* "); for (j = i; j < i + BLOCK_SIZE && j < count; ++j) { - if (buf[j] >= 0x20 && buf[j] <= 0x7e) + if (buf[j] != '*' && buf[j] >= 0x20 && buf[j] <= 0x7e) printf("%c", buf[j]); else printf(".");