Skip to content

Commit

Permalink
Merge pull request #130 from kcbanner/shdc_stderr
Browse files Browse the repository at this point in the history
Output sokol-shdc errors to stderr instead of stdout
  • Loading branch information
floooh authored Jun 17, 2024
2 parents ef406c8 + 608f92e commit 8a33908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shdc/types/errmsg.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ inline std::string ErrMsg::as_string(Format fmt) const {
}

inline void ErrMsg::print(Format fmt) const {
fmt::print("{}\n", as_string(fmt));
fmt::print(stderr, "{}\n", as_string(fmt));
}

inline const char* ErrMsg::format_to_str(Format fmt) {
Expand Down

0 comments on commit 8a33908

Please sign in to comment.