Browse Source

Merge pull request #4638

noavarice (1):
      refactor(toxid): use left instead of mid
pull/4721/head
sudden6 8 years ago
parent
commit
1fc7fe2d58
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 2
      src/core/toxid.cpp

2
src/core/toxid.cpp

@ -194,7 +194,7 @@ const uint8_t* ToxId::getBytes() const @@ -194,7 +194,7 @@ const uint8_t* ToxId::getBytes() const
*/
ToxPk ToxId::getPublicKey() const
{
return ToxPk(toxId.mid(0, TOX_PUBLIC_KEY_SIZE));
return ToxPk(toxId.left(TOX_PUBLIC_KEY_SIZE));
}
/**

Loading…
Cancel
Save