Skip to content

Commit

Permalink
Fixed #1439
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Feb 15, 2020
1 parent 76d94e6 commit d4fd17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/sinks/ansicolor_sink-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::set_color_mode(color_mode mode)
template<typename ConsoleMutex>
SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::print_ccode_(const string_view_t &color_code)
{
fwrite(color_code.data(), sizeof(string_view_t::value_type), color_code.size(), target_file_);
fwrite(color_code.data(), sizeof(char), color_code.size(), target_file_);
}

template<typename ConsoleMutex>
Expand Down

0 comments on commit d4fd17f

Please sign in to comment.