view .dir-locals.el @ 18952:c66029adf853

Fix out-of-bound indexing in update_normals (bug #42823). * graphics.cc (surface::properties::update_normals): Check that dimensions of xdata, ydata, and zdata are appropriately matched before attempting to calculate vertexnormals.
author Rik <rik@octave.org>
date Tue, 22 Jul 2014 22:46:48 -0700
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))