mirror of
https://codeberg.org/scip/diceware.git
synced 2025-12-16 18:30:58 +01:00
better output
This commit is contained in:
@@ -43,7 +43,7 @@ unsigned char *toss(int count, int dicenum) {
|
|||||||
digit[1] = '\0';
|
digit[1] = '\0';
|
||||||
|
|
||||||
RETRY:
|
RETRY:
|
||||||
fprintf(stdout, "dice %d - enter 5 digits, each between 1-6: ", dicenum+1);
|
fprintf(stdout, "dice roll %d - enter 5 digits, each between 1-6: ", dicenum+1);
|
||||||
linelen = getline(&line, &len, stdin);
|
linelen = getline(&line, &len, stdin);
|
||||||
tosses = malloc((size_t)count);
|
tosses = malloc((size_t)count);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user