]> git.lyx.org Git - features.git/commit
h_use_minted is a bool, not a string
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 6 Jul 2017 12:09:18 +0000 (14:09 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 6 Jul 2017 12:11:30 +0000 (14:11 +0200)
commit64667735f41d0ecd0542985f56942bbaa8dce062
treefd5c40a12e56cfc899aff10db5d649082af0170f
parent29378af4cdf9db7a7d6a72a9df34b8593f73f0e8
h_use_minted is a bool, not a string

We have a mix in this file of boolean stored as such or as strings.
This translates to values written as true/false or 1/0 in .lyx files.

In this case, the value of use_minted could only be true, since the
char * pointer is non null.

Also add some else clauses.

Spotted by coverity.
src/tex2lyx/Preamble.cpp