]> Dogcows Code - chaz/openbox/commitdiff
use strcmp instead of collate, since collate is slower and we're only doing an =...
authorDana Jansens <danakj@orodu.net>
Sun, 29 Jun 2003 08:46:03 +0000 (08:46 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 29 Jun 2003 08:46:03 +0000 (08:46 +0000)
plugins/placement/history.c

index 716487b6e76a9d0dd49fa50b345e21dbe4a40f08..797aef3b8978606a3444b8095583b4c2be739b14 100644 (file)
@@ -41,9 +41,9 @@ static struct HistoryItem *history_find(const char *name, const char *class,
     /* find the client */
     for (it = history_list; it != NULL; it = it->next) {
         hi = it->data;
-        if (!g_utf8_collate(hi->name, name) &&
-            !g_utf8_collate(hi->class, class) &&
-            !g_utf8_collate(hi->role, role))
+        if (!strcmp(hi->name, name) &&
+            !strcmp(hi->class, class) &&
+            !strcmp(hi->role, role))
             return hi;
     }
     return NULL;
This page took 0.022114 seconds and 4 git commands to generate.