Skip to content

Commit

Permalink
Build 0.4.0 / 5.43
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Sep 6, 2020
1 parent 6a0efad commit 442a2d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Sandboxie/core/dll/file_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1770,8 +1770,8 @@ _FX void File_InitSnapshots(void)
if (*Shapshot == 0)
return; // not using snapshots

File_Snapshot = Dll_Alloc(sizeof(FILE_SNAPSHOT *));
memzero(File_Snapshot, sizeof(FILE_SNAPSHOT *));
File_Snapshot = Dll_Alloc(sizeof(FILE_SNAPSHOT));
memzero(File_Snapshot, sizeof(FILE_SNAPSHOT));
wcscpy(File_Snapshot->ID, Shapshot);
File_Snapshot->IDlen = wcslen(Shapshot);
FILE_SNAPSHOT* Cur_Snapshot = File_Snapshot;
Expand All @@ -1793,8 +1793,8 @@ _FX void File_InitSnapshots(void)
if (*Shapshot == 0)
break; // no more snapshots

Cur_Snapshot->Parent = Dll_Alloc(sizeof(FILE_SNAPSHOT *));
memzero(Cur_Snapshot->Parent, sizeof(FILE_SNAPSHOT *));
Cur_Snapshot->Parent = Dll_Alloc(sizeof(FILE_SNAPSHOT));
memzero(Cur_Snapshot->Parent, sizeof(FILE_SNAPSHOT));
wcscpy(Cur_Snapshot->Parent->ID, Shapshot);
Cur_Snapshot->Parent->IDlen = wcslen(Shapshot);
Cur_Snapshot = Cur_Snapshot->Parent;
Expand Down
2 changes: 1 addition & 1 deletion SandboxiePlus/MiscHelpers/Common/TreeViewEx.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

__inline uint qHash( const QVariant & var )
{
if ( !var.isValid() || var.isNull() )
if ( !var.isValid() /*|| var.isNull()*/ )
//return -1;
Q_ASSERT(0);

Expand Down

0 comments on commit 442a2d7

Please sign in to comment.