Fix a couple of style nits.

This commit is contained in:
Bob Nystrom
2015-07-18 14:17:39 -07:00
parent d91c06d18b
commit fd637e46bc

View File

@ -6,7 +6,7 @@
#include <string.h>
#include <time.h>
// TODO: This is an arbitrary limit Do something smarter.
// TODO: This is an arbitrary limit. Do something smarter.
#define MAX_READ_LEN 1024
// This string literal is generated automatically from io.wren. Do not edit.
@ -125,7 +125,8 @@ static void ioRead(WrenVM* vm)
char buffer[MAX_READ_LEN];
char* result = fgets(buffer, MAX_READ_LEN, stdin);
if (result != NULL) {
if (result != NULL)
{
wrenReturnString(vm, buffer, (int)strlen(buffer));
}
}