fix macro key: ignore case of key when add
authorMr.LeQuocTuan <Mr.LeQuocTuan@79bd180b-0a32-48ee-ac55-ada8cae9df61>
Thu, 18 Jun 2009 18:34:12 +0000 (18:34 +0000)
committerMr.LeQuocTuan <Mr.LeQuocTuan@79bd180b-0a32-48ee-ac55-ada8cae9df61>
Thu, 18 Jun 2009 18:34:12 +0000 (18:34 +0000)
git-svn-id: svn://localhost/trunk@24 79bd180b-0a32-48ee-ac55-ada8cae9df61

src/scim_unikey_setup.cpp

index d2ebe4b..a1ba051 100644 (file)
@@ -591,7 +591,7 @@ static void on_key_edited (GtkCellRendererText *celltext, const gchar *string_pa
     while (b)
     {
         gtk_tree_model_get(model, &iter, COL_KEY, &curkey, -1);
-        if (!strcmp(curkey, new_text))
+        if (!strcasecmp(curkey, new_text))
             return;
 
         b = gtk_tree_model_iter_next(model, &iter);