Little fixes

This commit is contained in:
Přemysl Eric Janouch 2015-02-08 02:31:13 +01:00
parent 76cab9137b
commit 30e61e2728
2 changed files with 4 additions and 3 deletions

View File

@ -55,7 +55,8 @@ set (project_sources ${PROJECT_NAME}.c)
set (project_headers ${PROJECT_BINARY_DIR}/config.h) set (project_headers ${PROJECT_BINARY_DIR}/config.h)
# Project libraries # Project libraries
set (project_libraries ${ncursesw_LIBRARIES} ${LIBEV_LIBRARIES} termo-static) set (project_libraries
${ncursesw_LIBRARIES} ${LIBEV_LIBRARIES} ${Termo_LIBRARIES})
# Generate a configuration file # Generate a configuration file
configure_file (${PROJECT_SOURCE_DIR}/config.h.in ${PROJECT_BINARY_DIR}/config.h) configure_file (${PROJECT_SOURCE_DIR}/config.h.in ${PROJECT_BINARY_DIR}/config.h)

View File

@ -1011,10 +1011,10 @@ on_winch (EV_P_ ev_signal *handle, int revents)
(row && xstrtoul (&tmp, row, 10)) ? (int) tmp : size.ws_row, (row && xstrtoul (&tmp, row, 10)) ? (int) tmp : size.ws_row,
(col && xstrtoul (&tmp, col, 10)) ? (int) tmp : size.ws_col); (col && xstrtoul (&tmp, col, 10)) ? (int) tmp : size.ws_col);
} }
#else // ! HAVE_RESIZE_TERM || ! TIOCGWINSZ #else // ! HAVE_RESIZETERM || ! TIOCGWINSZ
endwin (); endwin ();
refresh (); refresh ();
#endif // ! HAVE_RESIZE_TERM || ! TIOCGWINSZ #endif // ! HAVE_RESIZETERM || ! TIOCGWINSZ
update_canvas_for_screen (app); update_canvas_for_screen (app);
redraw (app); redraw (app);