view .dir-locals.el @ 22369:17c9cc85842e

Fix display of scaled images in OpenGL toolkits (bug #48879). * gl-render.cc (draw_image): Adjust spacing and wrap long lines, for readability. * graphics.cc (convert_cdata_2): Use 'fix' rather than 'round' when scaling data to climits. * imagesc.m: Add %!demo to test display.
author Rik <rik@octave.org>
date Tue, 23 Aug 2016 16:13:31 -0700
parents 9ff04de067ce
children df203b20cfc6
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))))