mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Remove 'oldcode'
This commit is contained in:
parent
d380b0fac6
commit
ca9cdf6cfc
1 changed files with 0 additions and 32 deletions
|
@ -1383,38 +1383,6 @@ UnlockPidFile( void )
|
||||||
fclose (pidFilePtr);
|
fclose (pidFilePtr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef oldcode
|
|
||||||
/*VARARGS*/
|
|
||||||
SetTitle (va_alist)
|
|
||||||
va_dcl
|
|
||||||
{
|
|
||||||
#ifndef NOXDMTITLE
|
|
||||||
char *p = Title;
|
|
||||||
int left = TitleLen;
|
|
||||||
char *s;
|
|
||||||
va_list args;
|
|
||||||
|
|
||||||
va_start(args);
|
|
||||||
*p++ = '-';
|
|
||||||
--left;
|
|
||||||
while (s = va_arg (args, char *))
|
|
||||||
{
|
|
||||||
while (*s && left > 0)
|
|
||||||
{
|
|
||||||
*p++ = *s++;
|
|
||||||
left--;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
while (left > 0)
|
|
||||||
{
|
|
||||||
*p++ = ' ';
|
|
||||||
--left;
|
|
||||||
}
|
|
||||||
va_end(args);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
SetTitle( char *name, char *ptr )
|
SetTitle( char *name, char *ptr )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue