On 26/10/2013 13:17, Nick Treleaven wrote:
* change documents_array to only contain valid documents, i.e. on close we swap the last valid document pointer with the pointer being removed, and decrement the length by 1.
Actually *move* rather than swap, and set the invalid slot to NULL to catch any overshooting index.
_______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel