summaryrefslogtreecommitdiff
path: root/do_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'do_text.c')
-rw-r--r--do_text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/do_text.c b/do_text.c
index d09af5d..8d28def 100644
--- a/do_text.c
+++ b/do_text.c
@@ -23,6 +23,7 @@ SOFTWARE.
#include "x11perf.h"
#include <stdio.h>
+#include "bitmaps.h"
static char **charBuf;
static XFontStruct *font, *bfont;
@@ -65,6 +66,8 @@ InitText(XParms xp, Parms p, int64_t reps)
XChangeGC(xp->d, xp->fggc, GCFont, &gcv);
XChangeGC(xp->d, xp->bggc, GCFont, &gcv);
+ SetFillStyle(xp, p);
+
charsPerLine = p->objects;
charsPerLine = (charsPerLine + 3) & ~3;
p->objects = charsPerLine;