]> hackdaworld.org Git - hdw-repos/packages.git/blob - demian/splitvt/title.c.patch
add Added Files:
[hdw-repos/packages.git] / demian / splitvt / title.c.patch
1 --- dem-old/utils/title.c.old   2002-11-18 23:26:41.000000000 -0600
2 +++ dem-new/utils/title.c       2002-11-18 23:29:25.000000000 -0600
3 @@ -1 +1 @@
4 -/* Set the titlebar on an xterm */
5 +/* Set the titlebar + "HDW Linux" on an xterm */
6 @@ -11 +11,3 @@
7 -       printf("\033]0;%s\07", argv[1]); fflush(stdout);
8 +       char * title = argv[1] ;
9 +       strcat(title, " HDW Linux :)") ;
10 +       printf("\033]0;%s\07", title); fflush(stdout);