diff options
Diffstat (limited to 'libidu')
-rw-r--r-- | libidu/idfile.c | 3 | ||||
-rw-r--r-- | libidu/scanners.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libidu/idfile.c b/libidu/idfile.c index e377145..d27c4b3 100644 --- a/libidu/idfile.c +++ b/libidu/idfile.c @@ -85,8 +85,7 @@ locate_id_file_name (char const *arg) if (stat (file_name_buffer, &statb) != 0) return NULL; } - while (!((statb.st_ino == rootb.st_ino) || - (statb.st_dev == rootb.st_dev))); + while (statb.st_ino != rootb.st_ino || statb.st_dev != rootb.st_dev); return NULL; } diff --git a/libidu/scanners.c b/libidu/scanners.c index af48c9f..fceeb1c 100644 --- a/libidu/scanners.c +++ b/libidu/scanners.c @@ -65,6 +65,7 @@ static void help_me_text __P((void)); struct language languages_0[] = { { "C", parse_args_c, get_token_c, help_me_c }, + { "C++", parse_args_c, get_token_c, help_me_c }, { "asm", parse_args_asm, get_token_asm, help_me_asm }, { "text", parse_args_text, get_token_text, help_me_text }, }; |