summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeif Lotfy <seif@lotfy.com>2012-05-11 20:45:08 +0200
committerSeif Lotfy <seif@lotfy.com>2012-05-11 20:45:08 +0200
commit8c97b9faa164d0e427fa35335592653fef62b7bf (patch)
tree4fb23c42fa0d110cffbe5646b41036188cbdef71
parent84bc00062752f1380346b617637b75ec01c6ff4f (diff)
WhereClause: fixed negation bug introduced in commit # 318e9aaeefe9f61f3160c5ee611205c69af5b306
-rw-r--r--src/where-clause.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/where-clause.vala b/src/where-clause.vala
index a2c285b4..a799a7da 100644
--- a/src/where-clause.vala
+++ b/src/where-clause.vala
@@ -115,7 +115,7 @@ namespace Zeitgeist
public void add_match_condition (string column, int val,
bool negation=false)
{
- string sql = "%s %s = %d".printf (column, (negation) ? "!" : "", val);
+ string sql = "%s %s= %d".printf (column, (negation) ? "!" : "", val);
add (sql);
}
@@ -131,7 +131,7 @@ namespace Zeitgeist
public void add_text_condition (string column, string val,
bool negation=false)
{
- string sql = "%s %s = ?".printf (column, (negation) ? "!" : "");
+ string sql = "%s %s= ?".printf (column, (negation) ? "!" : "");
add (sql, val);
}