Mercurial > emacs
changeset 104400:ed5d844496e7 CEDET_BASE
(ns_get_color): fix typo in last change
author | Adrian Robert <Adrian.B.Robert@gmail.com> |
---|---|
date | Fri, 21 Aug 2009 19:36:50 +0000 |
parents | 1aa0b1f2d2d1 |
children | 2efe3dc24373 b8afce0dc654 |
files | src/nsterm.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/nsterm.m Fri Aug 21 19:33:56 2009 +0000 +++ b/src/nsterm.m Fri Aug 21 19:36:50 2009 +0000 @@ -1378,7 +1378,7 @@ else if (!strncmp(name, "rgb:", 4)) /* A newer X11 format -- rgb:r/g/b */ { strcpy(hex, name + 4); - scaling = (strlen(hex) - 2) / 4; + scaling = (strlen(hex) - 2) / 3; } else if (name[0] == '#') /* An old X11 format; convert to newer */ {