mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 08:06:35 +08:00
STR #1741: fixed and improved on missing 'public' attribute in consecutive classes in FLUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -330,6 +330,7 @@ static Fl_Type* write_code(Fl_Type* p) {
|
||||
}
|
||||
|
||||
extern const char* header_file_name;
|
||||
extern Fl_Class_Type *current_class;
|
||||
|
||||
int write_code(const char *s, const char *t) {
|
||||
const char *filemode = "w";
|
||||
@@ -338,6 +339,8 @@ int write_code(const char *s, const char *t) {
|
||||
write_number++;
|
||||
delete id_root; id_root = 0;
|
||||
indentation = 0;
|
||||
current_class = 0L;
|
||||
current_widget_class = 0L;
|
||||
if (!s) code_file = stdout;
|
||||
else {
|
||||
FILE *f = fopen(s, filemode);
|
||||
|
||||
Reference in New Issue
Block a user