Mercurial > octave
diff libinterp/corefcn/display.cc @ 20946:6eff66fb8a02
style fixes for comments
* find-dialog.cc, find-dialog.h, display.cc, error.cc, gl-render.cc,
graphics.cc, graphics.in.h, max.cc, oct-handle.h, oct-obj.h,
oct-stream.cc, oct.h, pr-output.cc, profiler.cc, str2double.cc,
symtab.cc, toplev.cc, toplev.h, xgl2ps.c, zfstream.cc, zfstream.h,
__glpk__.cc, audiodevinfo.cc, colamd.cc, symbfact.cc, ov-classdef.cc,
ov-classdef.h, ov-java.cc, op-int.h, pt-pr-code.cc, pt-walk.h:
Use C++-style comments where possible.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Dec 2015 22:39:36 -0500 |
parents | e74e617060cf |
children | ecb95c6384f2 |
line wrap: on
line diff
--- a/libinterp/corefcn/display.cc Fri Dec 18 22:06:22 2015 -0500 +++ b/libinterp/corefcn/display.cc Fri Dec 18 22:39:36 2015 -0500 @@ -72,8 +72,9 @@ #else - /* FIXME: This will only work for MacOS > 10.5. For earlier versions - this code is not needed (use CGDisplayBitsPerPixel instead). */ + // FIXME: This will only work for MacOS > 10.5. For earlier + // versions this code is not needed (use CGDisplayBitsPerPixel + // instead). CGDisplayModeRef mode = CGDisplayCopyDisplayMode (display); CFStringRef pixelEncoding = CGDisplayModeCopyPixelEncoding (mode); @@ -93,9 +94,9 @@ CGSize sz_mm = CGDisplayScreenSize (display); - /* For MacOS >= 10.6, CGSize is a struct keeping 2 CGFloat - values, but the CGFloat typedef is not present on older - systems, so use double instead. */ + // For MacOS >= 10.6, CGSize is a struct keeping 2 CGFloat + // values, but the CGFloat typedef is not present on older + // systems, so use double instead. double ht_mm = sz_mm.height; double wd_mm = sz_mm.width;