From 30e61e2728a086c5012ddfda453e1aa94a20b70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 8 Feb 2015 02:31:13 +0100 Subject: Little fixes --- CMakeLists.txt | 3 ++- autistdraw.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca80edf..16a9345 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,8 @@ set (project_sources ${PROJECT_NAME}.c) set (project_headers ${PROJECT_BINARY_DIR}/config.h) # Project libraries -set (project_libraries ${ncursesw_LIBRARIES} ${LIBEV_LIBRARIES} termo-static) +set (project_libraries + ${ncursesw_LIBRARIES} ${LIBEV_LIBRARIES} ${Termo_LIBRARIES}) # Generate a configuration file configure_file (${PROJECT_SOURCE_DIR}/config.h.in ${PROJECT_BINARY_DIR}/config.h) diff --git a/autistdraw.c b/autistdraw.c index 31d8c0b..d3215bf 100644 --- a/autistdraw.c +++ b/autistdraw.c @@ -1011,10 +1011,10 @@ on_winch (EV_P_ ev_signal *handle, int revents) (row && xstrtoul (&tmp, row, 10)) ? (int) tmp : size.ws_row, (col && xstrtoul (&tmp, col, 10)) ? (int) tmp : size.ws_col); } -#else // ! HAVE_RESIZE_TERM || ! TIOCGWINSZ +#else // ! HAVE_RESIZETERM || ! TIOCGWINSZ endwin (); refresh (); -#endif // ! HAVE_RESIZE_TERM || ! TIOCGWINSZ +#endif // ! HAVE_RESIZETERM || ! TIOCGWINSZ update_canvas_for_screen (app); redraw (app); -- cgit v1.2.3