mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-11 09:29:53 +00:00
Cleanup
This commit is contained in:
parent
8ec72d0331
commit
07c08945db
@ -260,7 +260,7 @@ void GetImageFile(PbImageFile *image_file, const string& filename)
|
||||
image_file->set_read_only(access(filename.c_str(), W_OK));
|
||||
|
||||
struct stat st;
|
||||
stat(image_file->name().c_str(), &st);
|
||||
stat(filename.c_str(), &st);
|
||||
image_file->set_size(st.st_size);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user