CMake-ify, rename to termkey2 for the time being

This commit is contained in:
2014-10-09 23:47:24 +02:00
parent 3465d5553f
commit 5692f32bcf
33 changed files with 258 additions and 206 deletions

View File

@@ -1,8 +1,8 @@
// we want strdup()
#define _XOPEN_SOURCE 600
#include "termkey.h"
#include "termkey-internal.h"
#include "termkey2.h"
#include "termkey2-internal.h"
#ifdef HAVE_UNIBILIUM
# include <unibilium.h>
@@ -240,7 +240,7 @@ load_terminfo (termkey_ti_t *ti, const char *term)
if (node && !insert_seq (ti, value, node))
{
free(node);
free (node);
return 0;
}
}