Applied patch from fs#275 to make /hilight -mask -line work properly

This commit is contained in:
Jari Matilainen 2015-09-24 13:03:02 +02:00
commit deb6ca1b1a
5 changed files with 23 additions and 12 deletions

View file

@ -45,6 +45,9 @@ struct _FORMAT_REC {
#define PRINT_FLAG_SET_SERVERTAG 0x0010
#define PRINT_FLAG_UNSET_SERVERTAG 0x0020
// FIXME: sould use better
typedef struct _HILIGHT_REC HILIGHT_REC;
typedef struct _TEXT_DEST_REC {
WINDOW_REC *window;
SERVER_REC *server;
@ -52,6 +55,9 @@ typedef struct _TEXT_DEST_REC {
const char *target;
int level;
HILIGHT_REC *hilight;
int match_beg;
int match_end;
int hilight_priority;
char *hilight_color;
int flags;