[PATCH] Beagle - HitFlavor.cs
- From: Lukas Lipka <lukas pmad net>
- To: "dashboard-hackers gnome org" <dashboard-hackers gnome org>
- Subject: [PATCH] Beagle - HitFlavor.cs
- Date: Sun, 18 Jul 2004 22:14:42 +0200
Just Browsing The Code (tm) and found this mistake. Probabbly a logical
thing. I'm wondering whetever it is OK to commit small stuff like this
right away without sending patches to the list.
I have another question. Where should I implement the IMLog viewer - n
Util/IMLog.cs (probabbly best) or in Best it self.
L.
--- HitFlavor.cs.~1.2.~ 2004-06-28 09:30:31.000000000 +0200
+++ HitFlavor.cs 2004-07-18 22:06:23.000000000 +0200
@@ -71,9 +71,9 @@
if (str == "")
return false;
foreach (char c in str)
- if (c != '*')
- return false;
- return true;
+ if (c == '*')
+ return true;
+ return false;
}
public bool IsMatch (Hit hit)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]