[uim-commit] r572 - trunk/helper
makeinu at freedesktop.org
makeinu at freedesktop.org
Sun Feb 6 09:02:09 PST 2005
Author: makeinu
Date: 2005-02-06 09:02:02 -0800 (Sun, 06 Feb 2005)
New Revision: 572
Modified:
trunk/helper/pref-gtk-custom-widgets.c
Log:
* pref-gtk-custom-widgets.c
- (uim_pref_gtk_set_default_value): Fixed a clash bug.
Modified: trunk/helper/pref-gtk-custom-widgets.c
===================================================================
--- trunk/helper/pref-gtk-custom-widgets.c 2005-02-06 16:57:56 UTC (rev 571)
+++ trunk/helper/pref-gtk-custom-widgets.c 2005-02-06 17:02:02 UTC (rev 572)
@@ -1969,7 +1969,7 @@
sizeof(struct uim_custom_key *) * (num + 1));
for (i = 0; i < num; i++) {
value->as_key[i] = malloc(sizeof(struct uim_custom_key));
- value->as_key[i] = defval->as_key[i];
+ *value->as_key[i] = *defval->as_key[i];
value->as_key[i]->literal = strdup(defval->as_key[i]->literal);
value->as_key[i]->label = strdup(defval->as_key[i]->label);
value->as_key[i]->desc = strdup(defval->as_key[i]->desc);
More information about the Uim-commit
mailing list