Skip to content

Commit

Permalink
Fix logical condition
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Aug 23, 2016
1 parent 1bf9ea7 commit c1cf64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gammu/files.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void GetFileSystem(int argc, char *argv[])
}
}

if (argc <= 2 || !strcasecmp(argv[2], "-flatall") == 0) {
if (argc <= 2 || strcasecmp(argv[2], "-flatall") != 0) {
/* Nokia filesystem 1 */
if (UnicodeLength(Files.ID_FullName) != 0 &&
(DecodeUnicodeString(Files.ID_FullName)[0] == 'C' ||
Expand Down

0 comments on commit c1cf64d

Please sign in to comment.