Noux: use correct member in Vfs_io_channel::size()

Fixes #351.
This commit is contained in:
Christian Prochaska 2012-09-10 17:40:17 +02:00 committed by Norman Feske
parent 3cfc691c77
commit 4ab9782b8b

View File

@ -148,7 +148,7 @@ namespace Noux {
size_t size(Sysio *sysio)
{
if (fstat(sysio))
return sysio->stat_out.st.size;
return sysio->fstat_out.st.size;
return 0;
}