diff src/paranormal/actuators.c @ 296:0f3ed1b6b273 trunk

[svn] - fix handling of strings
author nenolod
date Wed, 22 Nov 2006 21:30:18 -0800
parents 0d826917c56f
children cc6df5de72a6
line wrap: on
line diff
--- a/src/paranormal/actuators.c	Wed Nov 22 20:25:17 2006 -0800
+++ b/src/paranormal/actuators.c	Wed Nov 22 21:30:18 2006 -0800
@@ -45,6 +45,8 @@
 		      sizeof (union actuator_option_val));
 	      break;
 	    case OPT_TYPE_STRING:
+              actuator->options[i].val.sval = g_strdup(a->options[i].val.sval);
+              break;
 	    default:
 	      break;
 	    }