formating

This commit is contained in:
Pawel Kolodziejski 2009-05-27 07:20:49 +00:00
parent ce11c0401d
commit 68c3e197fa

View File

@ -60,8 +60,7 @@ int main(int argc, char **argv) {
off_t offset;
infile = fopen(argv[1], "rb");
if (infile == 0)
{
if (infile == 0) {
printf("can't open source file: %s\n", argv[1]);
exit(1);
}
@ -73,8 +72,7 @@ int main(int argc, char **argv) {
fread(&s_size, 1, 4, infile);
head.num_entries = READ_LE_UINT32(&num);
head.string_table_size = READ_LE_UINT32(&s_size);
if (0 != memcmp(&head.magic, "LABN", 4))
{
if (0 != memcmp(&head.magic, "LABN", 4)) {
printf("There is no LABN header in source file\n");
exit(1);
}