diff options
Diffstat (limited to 'src/option.h')
-rw-r--r-- | src/option.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.h b/src/option.h index fe3e257b..4646121d 100644 --- a/src/option.h +++ b/src/option.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2013, John Wiegley. All rights reserved. + * Copyright (c) 2003-2015, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -229,7 +229,7 @@ public: inline bool is_eq(const char * p, const char * n) { // Test whether p matches n, substituting - in p for _ in n. for (; *p && *n; p++, n++) { - if (! (*p == '-' && *n == '_' ) && *p != *n) + if (! (*p == '-' && *n == '_') && *p != *n) return false; } // Ignore any trailing underscore |