Skip to content

Commit f2da60c

Browse files
authored
Merge pull request #81 from crossroads1112/patch-1
get_long_long should pass its prompt to get_string
2 parents 4e763ac + e680d60 commit f2da60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cs50.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ long long get_long_long(string prompt)
264264
while (true)
265265
{
266266
// get line of text, returning LLONG_MAX on failure
267-
string line = get_string();
267+
string line = get_string(prompt);
268268
if (line == NULL)
269269
{
270270
return LLONG_MAX;

0 commit comments

Comments
 (0)