Mercurial > hg > early-roguelike
comparison arogue5/options.c @ 279:d3968e9cb98d
Use C stdio functions for score files and save files.
Switching from Unix file descriptor operations to C standard FILE*
functions will reduce portability problems.
author | John "Elwin" Edwards |
---|---|
date | Fri, 15 Sep 2017 19:57:54 -0400 |
parents | e940e6c00751 |
children | e52a8a7ad4c5 |
comparison
equal
deleted
inserted
replaced
278:c222f9d56776 | 279:d3968e9cb98d |
---|---|
101 status = get_str(optstr, win); | 101 status = get_str(optstr, win); |
102 if (status != NORM) | 102 if (status != NORM) |
103 return status; | 103 return status; |
104 if (strcmp(old_score_file, optstr)) | 104 if (strcmp(old_score_file, optstr)) |
105 { | 105 { |
106 md_reopen_score(); | 106 reopen_score(); |
107 } | 107 } |
108 return status; | 108 return status; |
109 } | 109 } |
110 | 110 |
111 /* | 111 /* |