Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/script_engine.c [aeb8a9] .. [6b8ec8] Maximize Restore

  Switch to side-by-side view

--- a/src/script_engine.c
+++ b/src/script_engine.c
@@ -554,7 +554,7 @@
   {
     char *script = p->value + 8;
     logprintf ("script_engine: this is a jscript => evaluating '%s'...\n",
-               script);
+	       script);
     se_eval (se, script, o, NULL, NULL, "JS property");
     if (se_result_num_as_int (se, &n))
     {
@@ -590,7 +590,7 @@
   {
     char *script = p->value + 8;
     logprintf ("script_engine: this is a jscript => evaluating '%s'...\n",
-               script);
+	       script);
     se_eval (se, script, o, NULL, NULL, "JS property");
     if (se_result_num_as_double (se, &n))
     {
@@ -748,8 +748,8 @@
       se_prop_t *p = (se_prop_t *) n->data;
       if (!strcasecmp (p->id, prop))
       {
-        *vp = get_prop_jsval (se, o, p);
-        return JS_TRUE;
+	*vp = get_prop_jsval (se, o, p);
+	return JS_TRUE;
       }
     }
 
@@ -808,7 +808,7 @@
       {
 	if (!p->constant)
 	  set_prop_jsval (se, o, p, vp);
-        return JS_TRUE;
+	return JS_TRUE;
       }
     }
 
@@ -898,9 +898,9 @@
       se_o_t *o = objs->data;
       if (!strncasecmp (o->id, name, index) && !o->id[index])
       {
-        name += index + 1;
-        parent = o;
-        break;
+	name += index + 1;
+	parent = o;
+	break;
       }
     }
     if (!objs)
@@ -1194,7 +1194,7 @@
 }
 
 void se_prop_create (se_t *se, se_o_t *o,
-                     const char *id, const char *value,
+		     const char *id, const char *value,
 		     se_prop_type_t se_type, intptr_t data, gboolean constant)
 {
   if (!o)
@@ -1306,7 +1306,7 @@
 }
 
 void se_prop_create_xine_param (se_t *se, se_o_t *o,
-			        const char *id, int xine_param,
+				const char *id, int xine_param,
 				se_prop_type_t type)
 {
   switch (type)
@@ -1374,8 +1374,8 @@
 }
 
 se_f_t *se_defun (se_t *se, se_o_t *o /* may be NULL */,
-                  const char *name, JSNative fun, uintN nargs, uintN attrs,
-                  se_group_t group, const char *arghelp, const char *funchelp)
+		  const char *name, JSNative fun, uintN nargs, uintN attrs,
+		  se_group_t group, const char *arghelp, const char *funchelp)
 {
   se_f_t *f;
   f = malloc (sizeof(se_f_t));