Monotone-Parent: 827061cfd7bb39eead69601b6015cb0ff6ebf1f1

Monotone-Revision: af017f174df00d4475a8c99168a6d994257a1ca8

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-13T14:02:30
This commit is contained in:
Wolfgang Sourdeau committed 2012-04-13 14:02:30 +00:00
1 parent c270e1e720
commit 4c23e19c0c
2 files changed
+8 -2

No files matched your search

@@ -553,7 +553,7 @@ static NSNumber *sharedYes = nil;
if ([title length])
[baseWhere
addObject: [NSString stringWithFormat: @"c_title isCaseInsensitiveLike: '%%%@%%'",
[title stringByReplacingString: @"'" withString: @"''"]]];
[title stringByReplacingString: @"'" withString: @"\\'\\'"]]];
if (component)
{
@@ -1150,7 +1150,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
if ([title length])
[baseWhere
addObject: [NSString stringWithFormat: @"c_title isCaseInsensitiveLike: '%%%@%%'",
[title stringByReplacingString: @"'" withString: @"''"]]];
[title stringByReplacingString: @"'" withString: @"\\'\\'"]]];
if ([filters length])
[baseWhere addObject: [NSString stringWithFormat: @"(%@)", filters]];