# Patch #3 for x3270 3.2.19.  Re-enables the automatic font switching when the
# x3270 window is resized.

--- x3270-3.2/screen.c.old	Mon Jul 29 13:20:36 2002
+++ x3270-3.2/screen.c	Mon Jul 29 13:20:55 2002
@@ -3973,7 +3973,7 @@
 			if (matches == (char **)NULL)
 				continue;
 			r = (struct rsfont *)XtMalloc(sizeof(*r));
-			r->name = font;
+			r->name = XtNewString(font);
 			r->width = fCHAR_WIDTH(fs);
 			r->height = fCHAR_HEIGHT(fs);
 			XFreeFontInfo(matches, fs, count);
