[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/frame.c,v
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/frame.c,v |
Date: |
Thu, 19 Jun 2008 10:35:20 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kenichi Handa <handa> 08/06/19 10:35:07
Index: frame.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/frame.c,v
retrieving revision 1.375
retrieving revision 1.376
diff -u -b -r1.375 -r1.376
--- frame.c 2 Jun 2008 06:09:14 -0000 1.375
+++ frame.c 19 Jun 2008 10:35:03 -0000 1.376
@@ -20,6 +20,7 @@
#include <config.h>
#include <stdio.h>
+#include <ctype.h>
#include "lisp.h"
#include "character.h"
#ifdef HAVE_X_WINDOWS
@@ -3419,12 +3420,16 @@
new_value = Qnil;
while (*p0)
{
- while (*p1 && *p1 != ',') p1++;
+ while (*p1 && ! isspace (*p1) && *p1 != ',') p1++;
if (p0 < p1)
new_value = Fcons (Fintern (make_string (p0, p1 - p0), Qnil),
new_value);
if (*p1)
- p1++;
+ {
+ int c;
+
+ while ((c = *++p1) && isspace (c));
+ }
p0 = p1;
}
new_value = Fnreverse (new_value);