diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-08 08:26:50 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-09 07:20:23 -0700 |
commit | 73cdaf44cf85d3a96596172edb10c9bc0509c1e0 (patch) | |
tree | d4c6ead1d9a0be5530b7b60206c94fafe9825134 /src/libexpr/print-options.hh | |
parent | 4dabde04853d8eb3924750f0c1c1841b6119d81d (diff) |
`prettyPrint` -> `shouldPrettyPrint`
(cherry picked from commit 1c5f5d4291df7bf80806e57c75d2ec67bced8616)
Change-Id: I7a517490e7baa5cef00716f6d6cfcbcbcdde11bf
Diffstat (limited to 'src/libexpr/print-options.hh')
-rw-r--r-- | src/libexpr/print-options.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/print-options.hh b/src/libexpr/print-options.hh index 94767df9c..6c5e80c61 100644 --- a/src/libexpr/print-options.hh +++ b/src/libexpr/print-options.hh @@ -71,7 +71,7 @@ struct PrintOptions /** * True if pretty-printing is enabled. */ - inline bool prettyPrint() + inline bool shouldPrettyPrint() { return prettyIndent > 0; } |