emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bad (Wrong?) comment in src/nsterm.m


From: CHENG Gao
Subject: Bad (Wrong?) comment in src/nsterm.m
Date: Wed, 02 Sep 2009 16:35:53 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin)

In src/nsterm.m, I found (line 1344-1351):
(To be honest, clang-analyzer found it)

,----
| static int
| ns_get_color (const char *name, NSColor **col)
| /* --------------------------------------------------------------------------
|      Parse a color name
| /* --------------------------------------------------------------------------
| /* On *Step, we attempt to mimic the X11 platform here, down to installing an
|    X11 rgb.txt-compatible color list in Emacs.clr (see ns_term_init()).
|    See: http://thread.gmane.org/gmane.emacs.devel/113050/focus=113272). */
`----

I am not sure if this is wrong, but it looks bad. I guess it should be

,----
| static int
| ns_get_color (const char *name, NSColor **col)
| /* --------------------------------------------------------------------------
|      Parse a color name
|    
--------------------------------------------------------------------------*/
| /* On *Step, we attempt to mimic the X11 platform here, down to installing an
|    X11 rgb.txt-compatible color list in Emacs.clr (see ns_term_init()).
|    See: http://thread.gmane.org/gmane.emacs.devel/113050/focus=113272). */
`----

-- 
Ubi bene, ibi patria






reply via email to

[Prev in Thread] Current Thread [Next in Thread]