summaryrefslogtreecommitdiff
path: root/dviware/textool/textool.fix
blob: aae1373855568673669f8f801b40f872838abcfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
*** sunstuff.c	Tue Mar 29 08:06:23 1988
--- sunstuff.c.old	Tue Mar 29 08:02:13 1988
***************
*** 16,23 ****
   * -> V2.2, 27 Nov 87 -- fixed bug where .dvi file was opened twice,
   *						once from FrameDoneProc() and once by the WIN_REPAINT
   *						case in CanvasEventProc(). This ran us out of fds.
-  * -> V2.3, 29 Mar 88 -- fixed sloppy code in skip_specials() in pkstuff.c
-  *						that caused specials to be missed and treated as chars.
   */
  
  /* include the various global #defines */
--- 16,21 ----
*** pkstuff.c	Tue Mar 29 08:05:07 1988
--- pkstuff.c.old	Tue Mar 29 08:02:03 1988
***************
*** 5,15 ****
   * See the pktopx documentation for details.
   */
  
- /*
-  * For V2.3, 29 Mar 88
-  * Fixed stupid errors in skip_specials() that caused specials to be missed
-  */
- 
  #include "defs.h"
  #include <stdio.h>
  #include <sys/file.h>				/* for access() stuff */
--- 5,10 ----
***************
*** 190,200 ****
  				case PK_XXX4:
  					i = get_pk_byte();
  				case PK_XXX3:
! 					i = (i<<8) + get_pk_byte();
  				case PK_XXX2:
! 					i = (i<<8) + get_pk_byte();
  				case PK_XXX1:
! 					i = (i<<8) + get_pk_byte();
  					while (i--)
  						(void)get_pk_byte();
  					break;
--- 185,195 ----
  				case PK_XXX4:
  					i = get_pk_byte();
  				case PK_XXX3:
! 					i = i<<8 + get_pk_byte();
  				case PK_XXX2:
! 					i = i<<8 + get_pk_byte();
  				case PK_XXX1:
! 					i = i<<8 + get_pk_byte();
  					while (i--)
  						(void)get_pk_byte();
  					break;
***************
*** 215,221 ****
  						flag_byte);
  					return;
  			}
! 	} while (flag_byte >= PK_XXX1);
  }
  
  
--- 210,216 ----
  						flag_byte);
  					return;
  			}
! 	} while (flag_byte > PK_XXX1);
  }
  
  
*** textool.l	Tue Mar 29 09:24:36 1988
--- textool.l.old	Tue Mar 29 09:24:09 1988
***************
*** 187,193 ****
  The following things are taken from the environment:
  .TP
  .B PKPATH
! A colon separated list of directories to search for the font PK files
  in place of the default described below.
  .TP
  .B HOME
--- 187,193 ----
  The following things are taken from the environment:
  .TP
  .B PKPATH
! A comma separated list of directories to search for the font PK files
  in place of the default described below.
  .TP
  .B HOME

End of diffs.