diff options
author | Guy Sherman <guy@guysherman.com> | 2015-09-08 22:28:30 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-08 22:29:20 +0200 |
commit | 036ebab8a0452bd3cd20bae3d0281ff39b2b6a87 (patch) | |
tree | 4208ef91673b69fedab6ce857b98c538042327b6 /libs/ardour/enums.cc | |
parent | 929db238c911f9c8d451e62c8e3834e3d39fc426 (diff) |
Replaced broken code in recent_sessions.cc
The original broken code was intended to stop using ifstream
and ofstream to open files, but it used a very old MSVCism to
open streams from FILE*.
In the case for reading, this patch replaces that code by using
standard c file manipulation to read the data into a stringstream,
and then it uses the existing stream-based code to read from there.
Similarly the ofstream in the code for writing the recent files list
is replaced by a stringstream, and then a c-string is extracted
from it and written using standard c file manipulation.
Also tweaked a couple of typos from rgareus :)
Diffstat (limited to 'libs/ardour/enums.cc')
0 files changed, 0 insertions, 0 deletions