comparison arogue7/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
495 495
496 strcpy(old_score_file, optstr); 496 strcpy(old_score_file, optstr);
497 status = get_str(optstr, win); 497 status = get_str(optstr, win);
498 if (status == NORM && strcmp(old_score_file, optstr)) 498 if (status == NORM && strcmp(old_score_file, optstr))
499 { 499 {
500 md_reopen_score(); 500 reopen_score();
501 } 501 }
502 return status; 502 return status;
503 } 503 }
504 504
505 bool 505 bool