X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_sm%2Fsm.c;h=03de1c693b985e874b9f2f771a7db3bc13d2596d;hb=ae4260bb64817c11f9a7140324cd3e3ba113e297;hp=6971f7d1d6354f77ee926053f6ef7e43443c0b4e;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/mod_sm/sm.c b/mod_sm/sm.c index 6971f7d..03de1c6 100644 --- a/mod_sm/sm.c +++ b/mod_sm/sm.c @@ -1,12 +1,9 @@ /* * ion/mod_sm/sm.c * - * Copyright (c) Tuomo Valkonen 2004-2006. + * Copyright (c) Tuomo Valkonen 2004-2007. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #include @@ -15,6 +12,7 @@ #include #include #include +#include #include #include @@ -84,7 +82,7 @@ static void mod_sm_set_sessiondir() * to the session. */ if(smdir!=NULL){ - tmp=scat(smdir, "/ion3"); /* TODO: pwm<=>ion! */ + tmp=scat3(smdir, "/", libtu_progbasename()); }else if(id!=NULL){ tmp=scat("gnome-session-", id); if(tmp!=NULL){