[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/9] Prevent crash if w32 used before it's initialized
From: |
Daniel Colascione |
Subject: |
[PATCH 5/9] Prevent crash if w32 used before it's initialized |
Date: |
Tue, 07 Aug 2012 01:19:27 -0700 |
---
src/w32fns.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/w32fns.c b/src/w32fns.c
index 8ef4982..9743822 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4833,7 +4833,7 @@ x_display_info_for_name (Lisp_Object name)
CHECK_STRING (name);
for (dpyinfo = &one_w32_display_info, names = w32_display_name_list;
- dpyinfo;
+ dpyinfo && !NILP (w32_display_name_list);
dpyinfo = dpyinfo->next, names = XCDR (names))
{
Lisp_Object tem;
--
1.7.2.5
- Re: [PATCH 6/9] Rename `w32' local to `nt' for clarity, (continued)
[PATCH 4/9] Fix emacsclient to work with cygw32, Daniel Colascione, 2012/08/07
[PATCH 5/9] Prevent crash if w32 used before it's initialized,
Daniel Colascione <=
[PATCH 9/9] Detect window-system from display name, Daniel Colascione, 2012/08/07
- Re: [PATCH 9/9] Detect window-system from display name, Stefan Monnier, 2012/08/07
- Re: [PATCH 9/9] Detect window-system from display name, Daniel Colascione, 2012/08/07
- Re: [PATCH 9/9] Detect window-system from display name, Stefan Monnier, 2012/08/07
- Re: [PATCH 9/9] Detect window-system from display name, Daniel Colascione, 2012/08/07
- Re: [PATCH 9/9] Detect window-system from display name, Lennart Borgman, 2012/08/07
- Re: [PATCH 9/9] Detect window-system from display name, Daniel Colascione, 2012/08/07