Small mod to FL_BLINE to follow similar mod in Fl_Browser's FL_BLINE

which was made in order to solve STR #1739.

    Thanks to SebHoll for pointing this out.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2009-09-07 21:17:08 +00:00
parent 89870d0114
commit e60b85f94c
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#include <FL/Fl_File_Browser.H>
#include <FL/fl_draw.H>
#include <FL/filename.H>
#include <FL/Fl_Image.H> // icon
#include <stdio.h>
#include <stdlib.h>
#include "flstring.h"
@ -85,6 +86,7 @@ struct FL_BLINE // data is in a linked list of these
FL_BLINE *prev; // Previous item in list
FL_BLINE *next; // Next item in list
void *data; // Pointer to data (function)
Fl_Image *icon; // Pointer to optional icon
short length; // sizeof(txt)-1, may be longer than string
char flags; // selected, displayed
char txt[1]; // start of allocated array