From 679552d6db9771ddbf29bd02eb8392b3f319d4cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 21 Jul 2015 17:13:58 +0200 Subject: ui: further separate curses related user interface code By now ui-curses.[hc] are the only files dealing directly with curses related functions. Integration of a proper mainloop is still pending. --- editor.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 3e8e644..fb57469 100644 --- a/editor.h +++ b/editor.h @@ -1,7 +1,6 @@ #ifndef EDITOR_H #define EDITOR_H -#include #include #include #include @@ -273,9 +272,9 @@ int editor_tabwidth_get(Editor*); /* load a set of syntax highlighting definitions which will be associated * to the underlying window based on the file type loaded. * - * both *syntaxes and *colors must point to a NULL terminated arrays. + * The parameter `syntaxes' has to point to a NULL terminated array. */ -bool editor_syntax_load(Editor*, Syntax *syntaxes, Color *colors); +bool editor_syntax_load(Editor*, Syntax *syntaxes); void editor_syntax_unload(Editor*); /* creates a new window, and loads the given file. if filename is NULL -- cgit v1.2.3