tracker r2472 - in trunk: . src/libtracker-common
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2472 - in trunk: . src/libtracker-common
- Date: Fri, 7 Nov 2008 13:00:13 +0000 (UTC)
Author: carlosg
Date: Fri Nov 7 13:00:13 2008
New Revision: 2472
URL: http://svn.gnome.org/viewvc/tracker?rev=2472&view=rev
Log:
2008-11-07 Carlos Garnacho <carlos imendio com>
* src/libtracker-common/tracker-utils.c (tracker_escape_string): Fix
logic, so it actually escapes single quotes...
Modified:
trunk/ChangeLog
trunk/src/libtracker-common/tracker-utils.c
Modified: trunk/src/libtracker-common/tracker-utils.c
==============================================================================
--- trunk/src/libtracker-common/tracker-utils.c (original)
+++ trunk/src/libtracker-common/tracker-utils.c Fri Nov 7 13:00:13 2008
@@ -106,7 +106,7 @@
{
gchar **array, *out;
- if (strchr (in, '\'')) {
+ if (!strchr (in, '\'')) {
return g_strdup (in);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]