From: Paul Eggert Date: Mon, 17 Jun 2013 21:10:31 +0000 (-0700) Subject: * nsfont.m (ns_registry_to_script): Parenthesize while expression. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2016^2~73^2~22 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a4df6a50e743221bd50137428ca72a506a64bea;p=emacs.git * nsfont.m (ns_registry_to_script): Parenthesize while expression. --- diff --git a/src/ChangeLog b/src/ChangeLog index 71585e67d08..04e99446fa5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-06-17 Paul Eggert + + * nsfont.m (ns_registry_to_script): Parenthesize while expression. + 2013-06-17 Eli Zaretskii * w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT diff --git a/src/nsfont.m b/src/nsfont.m index 709f2cb0d86..49ede8f483c 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -362,7 +362,7 @@ static NSString *ns_registry_to_script (char *reg) { Lisp_Object script, r, rts = Vns_reg_to_script; - while CONSP (rts) + while (CONSP (rts)) { r = XCAR (XCAR (rts)); if (!strncmp (SSDATA (r), reg, SBYTES (r)))