diff options
| author | Franklin Wei <git@fwei.tk> | 2015-05-22 21:15:45 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-05-22 21:15:45 -0400 |
| commit | 06d3b96728f44c32a918eac21c6ec2995bf62a94 (patch) | |
| tree | 4a9c01d4161642af2eb10a699f03c2472a89ccdf /src/save.c | |
| parent | 5f5e9ba46eea80c589b6675bf6d4f11f74af7d77 (diff) | |
| download | market-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.zip market-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.tar.gz market-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.tar.bz2 market-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.tar.xz | |
ncurse-ify the whole thing
Diffstat (limited to 'src/save.c')
| -rw-r--r-- | src/save.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -65,11 +65,11 @@ size_t ck_write(const char *buf, size_t sz, size_t nmemb, FILE *f) void save_handler(struct player_t *player) { - printf("Enter the file to save your portfolio in: "); + output("Enter the file to save your portfolio in: "); char *filename = read_string(); - printf("Writing data...\n"); + output("Writing data...\n"); FILE *f = fopen(filename, "wb"); free(filename); @@ -115,5 +115,5 @@ void save_handler(struct player_t *player) fclose(f); - printf("Done saving.\n"); + output("Done saving.\n"); } |