X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=pwm%2Fpwm.c;h=a96e3067701a02e3755421596135b52ce861c6a6;hb=ae4260bb64817c11f9a7140324cd3e3ba113e297;hp=bbb042f792dfb9fcbf294cb33b03e77ae713e6d8;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/pwm/pwm.c b/pwm/pwm.c index bbb042f..a96e306 100644 --- a/pwm/pwm.c +++ b/pwm/pwm.c @@ -3,10 +3,7 @@ * * Copyright (c) Tuomo Valkonen 1999-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 @@ -76,7 +73,7 @@ static OptParserOpt pwm_opts[]={ static void help() { int i; - printf(TR("Usage: %s [options]\n\n"), prog_execname()); + printf(TR("Usage: %s [options]\n\n"), libtu_progname()); for(i=0; pwm_opts[i].descr!=NULL; i++) pwm_opts[i].descr=TR(pwm_opts[i].descr); optparser_printhelp(OPTP_MIDLONG, pwm_opts); @@ -188,7 +185,7 @@ fail: fclose(ef); pid=fork(); if(pid==0){ - ioncore_setup_environ(DefaultScreen(ioncore_g.dpy)); + ioncore_setup_display(DefaultScreen(ioncore_g.dpy)); if(!may_continue) XCloseDisplay(ioncore_g.dpy); else