From: Christian Heller Date: Wed, 21 Aug 2013 18:29:32 +0000 (+0200) Subject: Minor corrections in error message phrasings and comments. X-Git-Tag: tce~1076 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_data.id_%7D%7D?a=commitdiff_plain;h=ad47c34bbc34f5511ba123d346899c2d47f90e0b;p=plomrogue Minor corrections in error message phrasings and comments. --- diff --git a/src/main.c b/src/main.c index a9fb7b1..eddf4bf 100644 --- a/src/main.c +++ b/src/main.c @@ -2,10 +2,10 @@ #include "main.h" #include /* for atoi(), exit(), EXIT_FAILURE, calloc() */ -#include /* for FILE typedef, F_OK */ +#include /* for FILE typedef, F_OK, rename() */ #include /* for initscr(), noecho(), curs_set(), keypad(), raw() */ #include /* for time() */ -#include /* for getopt(), optarg */ +#include /* for unlink(), getopt(), optarg */ #include /* for uint8_t */ #include "windows.h" /* for structs WinMeta, Win, init_win(), init_win_meta(), * draw_all_wins() @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) err_o = "Error recording new seed: " "Unable to open 'record_tmp' file for writing."; char * err_w = "Error recording new seed: " - "Trouble writing to opened 'record_tmp' file."; + "Trouble writing to opened file 'record_tmp'."; err_c = "Error recording new seed: " "Unable to close opened file 'record_tmp'."; char * err_m = "Error recording new seed: "