parent
b0ae8a46a0
commit
c5bfba483f
15 changed files with 279 additions and 271 deletions
|
|
@ -163,7 +163,7 @@ void n_setwd(void)
|
|||
int delim, emsz, k;
|
||||
int savhp, savapts, savapts1, savfont, savfont1, savpts, savpts1;
|
||||
|
||||
base = numtabp[ST].val = numtabp[ST].val = wid = numtabp[CT].val = 0;
|
||||
base = numtabp[ST].val = numtabp[SB].val = wid = numtabp[CT].val = 0;
|
||||
if (ismot(i = getch()))
|
||||
return;
|
||||
delim = cbits(i);
|
||||
|
|
|
|||
|
|
@ -217,11 +217,15 @@ void xbits(Tchar i, int bitf)
|
|||
|
||||
Tchar t_setch(int c)
|
||||
{
|
||||
#ifndef UNICODE
|
||||
int j;
|
||||
#endif
|
||||
char temp[50];
|
||||
char *s;
|
||||
|
||||
#ifndef UNICODE
|
||||
j = 0;
|
||||
#endif
|
||||
s = temp;
|
||||
if (c == '(') { /* \(xx */
|
||||
if ((*s++ = getach()) == 0 || (*s++ = getach()) == 0)
|
||||
|
|
@ -711,9 +715,8 @@ char *strdupl(const char *s) /* make a copy of s */
|
|||
int
|
||||
setfp(int pos, int f, char *truename, int print) /* mount font f at position pos[0...nfonts] */
|
||||
{
|
||||
char pathname[NS], shortname[NS], *sl;
|
||||
char pathname[NS], shortname[NS];
|
||||
|
||||
sl = (char*)0;
|
||||
zapwcache(0);
|
||||
if (truename)
|
||||
strcpy(shortname, truename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue