# This is a BitKeeper generated patch for the following project: # Project Name: Lightweight Window Manager # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.4 -> 1.5 # lwm.c 1.1 -> 1.2 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/02/11 jcopenha@marco.(none) 1.5 # oneliner to use DEFAULT_TERMINAL #define # -------------------------------------------- # diff -Nru a/lwm.c b/lwm.c --- a/lwm.c Mon Feb 11 14:51:34 2002 +++ b/lwm.c Mon Feb 11 14:51:34 2002 @@ -203,7 +203,8 @@ execl(sh, sh, "-c", command, 0); fprintf(stderr, "%s: can't exec \"%s -c %s\"\n", argv0, sh, command); - execlp("xterm", "xterm", 0); + /* we have it defined in lwm.h we might as well use it */ + execlp(DEFAULT_TERMINAL,DEFAULT_TERMINAL,0); exit(EXIT_FAILURE); case -1: /* Error. */ fprintf(stderr, "%s: couldn't fork\n", argv0);