summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-03-19 15:24:21 -0300
committerandmarti1424 <andmarti@gmail.com>2017-03-19 15:24:21 -0300
commitcef698361dc5163aced68bf3f9fde000e8f0c991 (patch)
treea8a7bab2e9a7d8b828e5f39064eb0ccf0a22e002 /src
parentdef9ea2d46a4768c2972996e74b9f5871a6792a7 (diff)
Added \n in bail
Diffstat (limited to 'src')
-rw-r--r--src/lua.c2
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.c b/src/lua.c
index 1e28e04..561dc90 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -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();
diff --git a/src/main.c b/src/main.c
index fcf7c70..5069cc3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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