summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 21:37:06 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 21:37:06 +0200
commite42ed88254f3c875974e142472da25f6d4346fa9 (patch)
treec8556d22100c98b0308a7310e65aa1d17ffd7095 /src/lib
parentfc340e9e7d4d0a1bfaf863fa6676aab3f6259d35 (diff)
there you go (nw)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util/flac.cpp2
-rw-r--r--src/lib/util/options.h2
-rw-r--r--src/lib/util/unzip.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/flac.cpp b/src/lib/util/flac.cpp
index cd84dfbca13..003799ab5fb 100644
--- a/src/lib/util/flac.cpp
+++ b/src/lib/util/flac.cpp
@@ -355,7 +355,7 @@ bool flac_decoder::reset()
&flac_decoder::metadata_callback_static,
&flac_decoder::error_callback_static, this) != FLAC__STREAM_DECODER_INIT_STATUS_OK)
return false;
- return FLAC__stream_decoder_process_until_end_of_metadata(m_decoder)!=0;
+ return FLAC__stream_decoder_process_until_end_of_metadata(m_decoder) != 0;
}
diff --git a/src/lib/util/options.h b/src/lib/util/options.h
index c99b99d3f5b..145ec6ea96f 100644
--- a/src/lib/util/options.h
+++ b/src/lib/util/options.h
@@ -86,7 +86,7 @@ public:
uint32_t flags() const { return m_flags; }
bool is_header() const { return type() == OPTION_HEADER; }
bool is_command() const { return type() == OPTION_COMMAND; }
- bool is_internal() const { return (m_flags & OPTION_FLAG_INTERNAL)!=0; }
+ bool is_internal() const { return (m_flags & OPTION_FLAG_INTERNAL) != 0; }
bool has_range() const { return (!m_minimum.empty() && !m_maximum.empty()); }
int priority() const { return m_priority; }
bool is_changed() const { return m_changed; }
diff --git a/src/lib/util/unzip.cpp b/src/lib/util/unzip.cpp
index a65bda9a99c..0b6c32011f0 100644
--- a/src/lib/util/unzip.cpp
+++ b/src/lib/util/unzip.cpp
@@ -620,7 +620,7 @@ class general_flag_reader
public:
general_flag_reader(std::uint16_t val) : m_value(val) { }
- bool encrypted() const { return (m_value & 0x0001) !=0; }
+ bool encrypted() const { return (m_value & 0x0001) != 0; }
bool implode_8k_dict() const { return (m_value & 0x0002) != 0; }
bool implode_3_trees() const { return (m_value & 0x0004) != 0; }
unsigned deflate_option() const { return unsigned((m_value >> 1) & 0x0003); }