mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
formating
This commit is contained in:
parent
ce11c0401d
commit
68c3e197fa
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user