]> wimlib.net Git - wimlib/blobdiff - src/modify.c
Finally fixed most of the problems with the new resource code.
[wimlib] / src / modify.c
index 2807370e1a52dcf39dcda613ed02715242474b24..dcd0b6d353eaf0ce34e4b591dd68b9861e1dcbae 100644 (file)
@@ -240,6 +240,7 @@ static int add_lte_to_dest_wim(struct dentry *dentry, void *arg)
                        dest_lte = new_lookup_table_entry();
                        if (!dest_lte)
                                return WIMLIB_ERR_NOMEM;
+                       dest_lte->resource_location = RESOURCE_IN_WIM;
                        dest_lte->wim = src_wim;
                        memcpy(&dest_lte->resource_entry, 
                               &src_lte->resource_entry,