mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
CamelCase.
This commit is contained in:
@ -81,10 +81,10 @@ static int runRepl(WrenVM* vm)
|
||||
|
||||
char* line = NULL;
|
||||
size_t size = 0;
|
||||
ssize_t num_read = getline(&line, &size, stdin);
|
||||
ssize_t numRead = getline(&line, &size, stdin);
|
||||
|
||||
// If stdin was closed (usually meaning the user entered Ctrl-D), exit.
|
||||
if (feof(stdin) || num_read == -1)
|
||||
if (numRead == -1 || feof(stdin))
|
||||
{
|
||||
printf("\n");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user