This commit is contained in:
Mario Hüttel 2018-05-10 01:11:07 +02:00
parent f75b549b7d
commit e8adee3197

View File

@ -578,7 +578,7 @@ int parse_gds_from_file(const char *filename, GList **library_list)
} }
current_graphics->layer = gds_convert_signed_int16(workbuff); current_graphics->layer = gds_convert_signed_int16(workbuff);
if (current_graphics->layer < 0) { if (current_graphics->layer < 0) {
GDS_WARN("Layer negative! %x %x\n", (unsigned int)workbuff[0], (unsigned int)(unsigned char)workbuff[1]); GDS_WARN("Layer negative!\n");
} }
printf("\t\tAdded layer %d\n", (int)current_graphics->layer); printf("\t\tAdded layer %d\n", (int)current_graphics->layer);
break; break;