]> git.tdb.fi Git - libs/core.git/commitdiff
Fix an error in Stat copy constructor
authorMikko Rasa <tdb@tdb.fi>
Sun, 3 Sep 2023 23:01:06 +0000 (02:01 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 3 Sep 2023 23:02:35 +0000 (02:02 +0300)
source/fs/stat.cpp

index e296ead3816b9317ecd44f0bc82bf6fbd12cbbed..7f1f9e6422e76d7203d437503a807dd7dfb176b0 100644 (file)
@@ -10,7 +10,7 @@ namespace FS {
 Stat::Stat(const Stat &other):
        exists(other.exists),
        type(other.type),
-       size(other.type),
+       size(other.size),
        alloc_size(other.alloc_size),
        mtime(other.mtime),
        owner_info(other.owner_info),