[zypp-commit] r9810 - in /trunk/libzypp/zypp: PoolQuery.cc PoolQuery.h
![](https://seccdn.libravatar.org/avatar/99b57570f7d488a36e8601c77edc67bd.jpg?s=120&d=mm&r=g)
Author: jreidinger Date: Fri Apr 25 09:48:24 2008 New Revision: 9810 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9810&view=rev Log: change confusing return state of caseSensitive in PoolQuery Modified: trunk/libzypp/zypp/PoolQuery.cc trunk/libzypp/zypp/PoolQuery.h Modified: trunk/libzypp/zypp/PoolQuery.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/PoolQuery.cc?rev=9810&r1=9809&r2=9810&view=diff ============================================================================== --- trunk/libzypp/zypp/PoolQuery.cc (original) +++ trunk/libzypp/zypp/PoolQuery.cc Fri Apr 25 09:48:24 2008 @@ -816,7 +816,7 @@ { return _pimpl->_repos; } bool PoolQuery::caseSensitive() const - { return _pimpl->_flags & SEARCH_NOCASE; } + { return !(_pimpl->_flags & SEARCH_NOCASE); } bool PoolQuery::matchExact() const { return (_pimpl->_flags & SEARCH_STRINGMASK) == SEARCH_STRING; } Modified: trunk/libzypp/zypp/PoolQuery.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/PoolQuery.h?rev=9810&r1=9809&r2=9810&view=diff ============================================================================== --- trunk/libzypp/zypp/PoolQuery.h (original) +++ trunk/libzypp/zypp/PoolQuery.h Fri Apr 25 09:48:24 2008 @@ -213,6 +213,9 @@ const StrContainer & repos() const; + /** + * returns true if search is case sensitive + */ bool caseSensitive() const; bool matchExact() const; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
jreidinger@svn.opensuse.org