aboutsummaryrefslogtreecommitdiff
path: root/demo-glib.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-09-27 23:30:10 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-09-27 23:30:10 +0200
commit991892fff518f59f02bbe1c8a4637843a82bd74e (patch)
treef8bb934a4481582789c5ecdee92233bd4d183369 /demo-glib.c
parent9ec09b90c9bb023bb69a6b703ce4df40d397f5e6 (diff)
downloadtermo-991892fff518f59f02bbe1c8a4637843a82bd74e.tar.gz
termo-991892fff518f59f02bbe1c8a4637843a82bd74e.tar.xz
termo-991892fff518f59f02bbe1c8a4637843a82bd74e.zip
Allow specifying terminal name in termo_new()term-string
Diffstat (limited to 'demo-glib.c')
-rw-r--r--demo-glib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo-glib.c b/demo-glib.c
index 80f3a7b..5ad346d 100644
--- a/demo-glib.c
+++ b/demo-glib.c
@@ -57,7 +57,7 @@ main (int argc, char *argv[])
TERMO_CHECK_VERSION;
setlocale (LC_CTYPE, "");
- tk = termo_new (STDIN_FILENO, NULL, 0);
+ tk = termo_new (STDIN_FILENO, NULL, NULL, 0);
if (!tk)
{
fprintf (stderr, "Cannot allocate termo instance\n");