make style (excepted cmdhficlass...)

This commit is contained in:
Philippe Teuwen 2019-08-26 22:28:39 +02:00
commit 16a7cfd7b2
9 changed files with 120 additions and 115 deletions

View file

@ -337,8 +337,8 @@ static int FpgaGatherVersion(FILE *infile, char *infile_name, char *dst, int len
for (uint16_t i = 0; i < fpga_info_len; i++) {
char c = (char)fgetc(infile);
if (i < sizeof(tempstr)) {
if ( c == '/' ) c = '-';
if ( c == ' ' ) c = '0';
if (c == '/') c = '-';
if (c == ' ') c = '0';
tempstr[i] = c;
}
}