diff options
author | Craig Earls <enderw88@gmail.com> | 2014-05-18 08:25:30 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-05-18 08:25:30 -0700 |
commit | 8e6cdcc1d13533252b1f6e6088dca966b64e4c88 (patch) | |
tree | 8f8fd4f644f292a25fb79d59961e135cc4b11c3a /src/option.h | |
parent | d82c1b4b5531c7be1c1870a07f1836b230a4da27 (diff) | |
parent | 4af2b97921a68a522135f958f1999ec4b63435bb (diff) | |
download | fork-ledger-8e6cdcc1d13533252b1f6e6088dca966b64e4c88.tar.gz fork-ledger-8e6cdcc1d13533252b1f6e6088dca966b64e4c88.tar.bz2 fork-ledger-8e6cdcc1d13533252b1f6e6088dca966b64e4c88.zip |
Merge branch 'master' of https://github.com/ledger/ledger
Diffstat (limited to 'src/option.h')
-rw-r--r-- | src/option.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h index 21942436..1ea9457d 100644 --- a/src/option.h +++ b/src/option.h @@ -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 |