Skip to content

Commit

Permalink
and -> && for msvc (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Feb 28, 2024
1 parent 2b92a09 commit 58c9f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/mkn/kul/os/win/env.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ inline std::string GET(char const* c, std::string default_ = "") {
}

inline void SET(char const* var, char const* val = nullptr) {
if (val and strlen(val) > 0)
if (val && strlen(val) > 0)
_putenv(std::string(std::string(var) + "=" + std::string(val)).c_str());
else // unset
_putenv(std::string(std::string(var) + "=").c_str());
Expand Down

0 comments on commit 58c9f10

Please sign in to comment.