gen_GS and gen_GE changed to gen_AS and gen_AE
authorEdward Wang <edward@ucbvax.Berkeley.EDU>
Thu, 12 Jan 1984 08:28:44 +0000 (00:28 -0800)
committerEdward Wang <edward@ucbvax.Berkeley.EDU>
Thu, 12 Jan 1984 08:28:44 +0000 (00:28 -0800)
SCCS-vsn: usr.bin/window/ttf100.c 3.5

usr/src/usr.bin/window/ttf100.c

index e949f86..8be60dc 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)ttf100.c    3.4 3.4";
+static char *sccsid = "@(#)ttf100.c    3.5 3.5";
 #endif
 
 #include "ww.h"
 #endif
 
 #include "ww.h"
@@ -16,16 +16,15 @@ short f100_frame[16] = {
        'K'|G,  'D'|G,  'K'|G,  'O'|G,
        'C'|G,  'L'|G,  'N'|G,  'I'|G
 };
        'K'|G,  'D'|G,  'K'|G,  'O'|G,
        'C'|G,  'L'|G,  'N'|G,  'I'|G
 };
-extern char *gen_GE, *gen_GS;
+extern char *gen_AE, *gen_AS;
 
 tt_f100()
 {
 
 tt_f100()
 {
-       int ret;
-
-       ret = tt_generic();
+       if (tt_generic() < 0)
+               return -1;
        tt.tt_frame = f100_frame;
        tt.tt_availmodes |= WWM_GRP;
        tt.tt_frame = f100_frame;
        tt.tt_availmodes |= WWM_GRP;
-       gen_GS = "\033$";
-       gen_GE = "\033%";
-       return ret;
+       gen_AS = "\033$";
+       gen_AE = "\033%";
+       return 0;
 }
 }