Skip to content

Commit

Permalink
Esthetic fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
anntzer committed Feb 25, 2020
1 parent be16a2e commit d20a010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if (auto const& error_ = func(__VA_ARGS__); !error_) { \
throw \
std::runtime_error{ \
#func " (" __FILE__ " line " + std::to_string(__LINE__) + ") failed "}; \
#func " (" __FILE__ " line " + std::to_string(__LINE__) + ") failed"}; \
} \
} (void)0

Expand Down
2 changes: 1 addition & 1 deletion src/_mplcairo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ void MathtextBackend::_draw(
}
},
[&](std::string name) {
index = FT_Get_Name_Index(ft_face, name.data());
index = FT_Get_Name_Index(ft_face, name.c_str());
if (!index) {
warn_on_missing_glyph(name);
}
Expand Down

0 comments on commit d20a010

Please sign in to comment.