summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--greeter/Login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/greeter/Login.c b/greeter/Login.c
index ce4e8a4..6ac1765 100644
--- a/greeter/Login.c
+++ b/greeter/Login.c
@@ -754,7 +754,7 @@ SetPrompt (Widget ctx, int promptNum, const char *message,
return -1;
}
- strlcpy(prompt, message, messageLen);
+ strlcpy(prompt, message, messageLen + 3);
/* Make sure text prompts have at least two spaces at end */
e = messageLen;