mirror of https://github.com/djcb/mu.git
* mu-query.cc, mu-store.cc: cosmetics
This commit is contained in:
parent
21fbbe452e
commit
c84baa1201
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
if (!clear_prefix (begin))
|
||||
return Xapian::BAD_VALUENO;
|
||||
|
||||
|
||||
substitute_date (begin);
|
||||
substitute_date (end);
|
||||
|
||||
|
@ -58,8 +58,8 @@ public:
|
|||
// have to complete begin, end 'for real', as the
|
||||
// begin date is completed to the begin of the
|
||||
// interval, and the to the end of the interval
|
||||
// ie. begin: 2008 -> 200801010000
|
||||
// end: 2008 -> 200812312359
|
||||
// ie. begin: 2008 -> 200801010000 end: 2008 ->
|
||||
// 200812312359
|
||||
if (complete_date12(begin,true) >
|
||||
complete_date12(end, false))
|
||||
std::swap (begin, end);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* -*-mode: c++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8-*- */
|
||||
|
||||
/*
|
||||
** Copyright (C) 2008-2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
|
|
Loading…
Reference in New Issue