Skip to content

Commit

Permalink
window: returning LIQUID_OK with reset() method
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Aug 9, 2020
1 parent a0a770f commit e38df0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/buffer/src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ int WINDOW(_reset)(WINDOW() _q)

// clear all allocated memory
memset(_q->v, 0, (_q->num_allocated)*sizeof(T));
return LIQUID_OK;
}

// read window buffer contents
Expand Down

0 comments on commit e38df0d

Please sign in to comment.