Fix faulty defaulting of XDG_CURRENT_DESKTOP
authorMarty Jack <martyj@linux.local>
Thu, 18 Feb 2010 19:19:51 +0000 (14:19 -0500)
committerMarty Jack <martyj@linux.local>
Thu, 18 Feb 2010 19:19:51 +0000 (14:19 -0500)
lxsession/lxsession.c

index 3280580..72ff97f 100644 (file)
@@ -310,7 +310,7 @@ int main(int argc, char** argv)
     g_setenv( "DESKTOP_SESSION", session_name, TRUE );
 
     if ( G_UNLIKELY(!de_name) )
-        session_name = session_name;
+        de_name = session_name;
     g_setenv( "XDG_CURRENT_DESKTOP", de_name, TRUE );
 
     /* FIXME: load environment variables? */