commit 27da57aebfba90702e79642cb71c088be5a6f926 parent fa0f7f78571ce6374113b871f71935ec661148a9 Author: sin <sin@2f30.org> Date: Tue, 30 Sep 2014 15:28:17 +0100 Allow empty names Diffstat:
M | ratox.c | | | 2 | -- |
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/ratox.c b/ratox.c @@ -1012,8 +1012,6 @@ setname(void *data) return; if (name[n - 1] == '\n') n--; - if (n == 0) - return; name[n] = '\0'; tox_set_name(tox, (uint8_t *)name, n); datasave();