diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-03-19 15:24:21 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-03-19 15:24:21 -0300 |
commit | cef698361dc5163aced68bf3f9fde000e8f0c991 (patch) | |
tree | a8a7bab2e9a7d8b828e5f39064eb0ccf0a22e002 /src | |
parent | def9ea2d46a4768c2972996e74b9f5871a6792a7 (diff) |
Added \n in bail
Diffstat (limited to 'src')
-rw-r--r-- | src/lua.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -50,7 +50,7 @@ void bail(lua_State *L, char * msg){ fprintf(stderr,"%s",error); */ - fprintf(stderr,"FATAL ERROR: %s: %s", msg, lua_tostring(L, -1)); + fprintf(stderr,"FATAL ERROR: %s: %s\n", msg, lua_tostring(L, -1)); move(0, 0); clrtobot(); @@ -361,7 +361,7 @@ int exit_app(int status) { // close fdoutput if (get_conf_value("output") != '\0' && fdoutput != NULL) { - fclose(fdoutput); + fclose(fdoutput); } // delete user and predefined config dictionaries |