diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index f7a61c037d..79bc59806d 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c @@ -563,9 +563,9 @@ void fat_size(IF_MV2(int volume,) unsigned long* size, unsigned long* free) *size = vfs.f_blocks / 2 * (vfs.f_frsize / 512); if (free) *free = vfs.f_bfree / 2 * (vfs.f_frsize / 512); - } else + } #endif - { + else { if (size) *size = 0; if (free)