[seed: 14/15] Make it actually work



commit d0a326e5fa1496e8f116039cf06028865ec35f98
Author: Robert Carr <racarr mireia (none)>
Date:   Sun Apr 12 01:48:42 2009 -0400

    Make it actually work
---
 libseed/seed-importer.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libseed/seed-importer.c b/libseed/seed-importer.c
index cc84442..7aafcef 100644
--- a/libseed/seed-importer.c
+++ b/libseed/seed-importer.c
@@ -583,9 +583,10 @@ seed_importer_dir_get_property (JSContextRef ctx,
       
       for (i = 0; i < strlen (mentry); i++)
 	{
-	  if (mentry[i] = '.')
+	  if (mentry[i] == '.')
 	    mentry[i] = '\0';
 	}
+
       if (!strcmp (mentry, prop))
 	{
 	  JSObjectRef ret;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]