summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 21:16:01 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 21:16:09 -0500
commit0849bf24b1be711c8e981038758b64d74edd462a (patch)
treee84a8ddf6fc9a993c7a9a2c9be30371bdd7b97d2
parent6a78c24463c9b582a819c2dced770b8303cd58bf (diff)
downloadfork-ledger-0849bf24b1be711c8e981038758b64d74edd462a.tar.gz
fork-ledger-0849bf24b1be711c8e981038758b64d74edd462a.tar.bz2
fork-ledger-0849bf24b1be711c8e981038758b64d74edd462a.zip
Fixed a typo in the processing of "note" query term
-rw-r--r--src/predicate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/predicate.cc b/src/predicate.cc
index b3926116..c3c3cba7 100644
--- a/src/predicate.cc
+++ b/src/predicate.cc
@@ -156,7 +156,7 @@ query_lexer_t::token_t query_lexer_t::next_token()
else if (ident == "code")
return token_t(token_t::TOK_CODE);
else if (ident == "note")
- return token_t(token_t::TOK_NOT);
+ return token_t(token_t::TOK_NOTE);
else if (ident == "tag")
return token_t(token_t::TOK_META);
else if (ident == "meta")