aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2013-12-28 19:12:57 +0200
committerEli Zaretskii2013-12-28 19:12:57 +0200
commit8962d4b30037c223af0026707fa35c9cf85c7e57 (patch)
tree910c7d71ca03f2cf9586cc141713d18538a9d70c /src
parentbf7bea5de09945949ab969f663aaf00fed1f67b4 (diff)
downloademacs-8962d4b30037c223af0026707fa35c9cf85c7e57.tar.gz
emacs-8962d4b30037c223af0026707fa35c9cf85c7e57.zip
Fix a thinko in last commit.
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 5ecddbc11d3..31c2aa58620 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4346,7 +4346,8 @@ This function is an internal primitive--use `make-frame' instead. */)
4346 Lisp_Object parent; 4346 Lisp_Object parent;
4347 struct kboard *kb; 4347 struct kboard *kb;
4348 4348
4349 if (!FRAME_W32_P (SELECTED_FRAME ())) 4349 if (!FRAME_W32_P (SELECTED_FRAME ())
4350 && !FRAME_INITIAL_P (SELECTED_FRAME ()))
4350 error ("Cannot create a GUI frame in a -nw session"); 4351 error ("Cannot create a GUI frame in a -nw session");
4351 4352
4352 /* Make copy of frame parameters because the original is in pure 4353 /* Make copy of frame parameters because the original is in pure