Commit b3d7fa6a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(init_frame_faces): Don't look at selected_frame unless it is an X frame.

parent b56eb7c9
......@@ -471,6 +471,7 @@ init_frame_faces (f)
/* Make sure that all faces valid on the selected frame are also valid
on this new frame. */
if (FRAME_X_P (selected_frame))
{
int i;
int n_faces = selected_frame->display.x->n_faces;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment