Exemplo n.º 1
0
Arquivo: repl.c Projeto: mfikes/planck
void highlight_cancel() {
    if (hl_restore.id != 0) {
        struct hl_restore *hl_restore_tmp = malloc(sizeof(struct hl_restore));
        *hl_restore_tmp = hl_restore;
        do_highlight_restore(hl_restore_tmp);
    }
}
Exemplo n.º 2
0
void highlight_cancel() {
	if (hl_restore.should_restore) {
		do_highlight_restore(NULL);
	}
}