// A flag that is set when any buffer listener housekeeping is required.
// Currently the only condition is when a listener is marked for removal.
-static bool houskeeping_required;
+static bool housekeeping_required;
/*
* Remove a given listener_T entry from its containing list.
}
/*
- * Perform houskeeping tasks for buffer change listeners.
+ * Perform housekeeping tasks for buffer change listeners.
*
- * This does nothing unless the "houskeeping_required" flag has been set.
+ * This does nothing unless the "housekeeping_required" flag has been set.
*/
static void
perform_listener_housekeeping(void)
{
buf_T *buf;
- if (houskeeping_required)
+ if (housekeeping_required)
{
FOR_ALL_BUFFERS(buf)
{
clean_listener_list(buf, &buf->b_listener, FALSE);
clean_listener_list(NULL, &buf->b_sync_listener, FALSE);
}
- houskeeping_required = FALSE;
+ housekeeping_required = FALSE;
}
}
if (lnr != NULL)
{
// Clear the ID to indicate that the listener is unused flag
- // houskeeping.
+ // housekeeping.
lnr->lr_id = 0;
- houskeeping_required = TRUE;
+ housekeeping_required = TRUE;
rettv->vval.v_number = 1;
return;
}
}
/*
- * Catch up on any qeueued events
+ * Catch up on any queued events
*/
int
wayland_update(void)
/*
* Get a suitable data device manager from connection. "supported" should be
- * iniitialized to VWL_DATA_PROTOCOL_NONE beforehand. Returns NULL if there are
+ * initialized to VWL_DATA_PROTOCOL_NONE beforehand. Returns NULL if there are
* no data device manager available with the required selection.
*/
vwl_data_device_manager_T *