X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_sm%2Fsm.c;h=9451489f8b2382e4ec9847847a4ee2f25dff9a23;hb=562cb4d37ba7667ac846fc3d426b152d21ef2c22;hp=d47a546a701125bcae6262a0db1c80e2a66abbab;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/mod_sm/sm.c b/mod_sm/sm.c index d47a546..9451489 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-2007. + * Copyright (c) Tuomo Valkonen 2004-2008. * - * 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){