b6b8dd8761
into RTFInit, if rtffp is still NULL.
23 lines
467 B
Text
23 lines
467 B
Text
$NetBSD: patch-aa,v 1.1 2006/01/08 00:03:57 joerg Exp $
|
|
|
|
--- reader.c.orig 2006-01-07 23:52:57.000000000 +0000
|
|
+++ reader.c
|
|
@@ -118,7 +118,7 @@ static RTFColor *colorList = (RTFColor *
|
|
static RTFStyle *styleList = (RTFStyle *) NULL;
|
|
|
|
|
|
-static FILE *rtffp = stdin;
|
|
+static FILE *rtffp;
|
|
|
|
|
|
/*
|
|
@@ -135,6 +135,9 @@ RTFFont *fp;
|
|
RTFStyle *sp;
|
|
RTFStyleElt *eltList, *ep;
|
|
|
|
+ if (rtffp == NULL)
|
|
+ rtffp = stdin;
|
|
+
|
|
/* initialize lookup table */
|
|
LookupInit ();
|
|
|