X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_sm%2Fsm.c;h=03de1c693b985e874b9f2f771a7db3bc13d2596d;hb=ae4260bb64817c11f9a7140324cd3e3ba113e297;hp=d47a546a701125bcae6262a0db1c80e2a66abbab;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/mod_sm/sm.c b/mod_sm/sm.c index d47a546..03de1c6 100644 --- a/mod_sm/sm.c +++ b/mod_sm/sm.c @@ -3,10 +3,7 @@ * * 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){