Skip to content

Commit

Permalink
pre R20 build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Sep 12, 2018
1 parent 808dd7d commit 1fdf159
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion craftr/net.maxon.c4d
6 changes: 3 additions & 3 deletions source/Utils/Misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace maxon {
#endif

#if API_VERSION >= 20000
#define STRINENCODING_UTF8 STRINGENCODING::UTF8
#define STRINGENCODING_UTF8 STRINGENCODING::UTF8
#endif

/// ***************************************************************************
Expand All @@ -29,8 +29,8 @@ inline String HashString(const String& input)
{
SHA256 sha256;
if (input.GetLength() > 0) {
CHAR* str = input.GetCStringCopy(STRINENCODING_UTF8);
sha256.add(str, input.GetCStringLen(STRINENCODING_UTF8));
CHAR* str = input.GetCStringCopy(STRINGENCODING_UTF8);
sha256.add(str, input.GetCStringLen(STRINGENCODING_UTF8));
DeleteMem(str);
}
return String(sha256.getHash().c_str());
Expand Down

0 comments on commit 1fdf159

Please sign in to comment.