Fix two uninitialized vars...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2001-10-16 20:25:25 +00:00
parent ea60692bf5
commit f986d0df7e
3 changed files with 8 additions and 4 deletions
+2
View File
@@ -18,6 +18,8 @@ CHANGES IN FLTK 1.1.0b4
- Fl_Help_View didn't support A elements with both a
NAME and HREF attribute - the HREF was ignored.
- Miscellaneous compile warning fixes.
CHANGES IN FLTK 1.1.0b3
+3 -2
View File
@@ -1,5 +1,5 @@
//
// "$Id: Fl_Help_View.cxx,v 1.1.2.4 2001/10/02 16:54:45 easysw Exp $"
// "$Id: Fl_Help_View.cxx,v 1.1.2.5 2001/10/16 20:25:24 easysw Exp $"
//
// Fl_Help_View widget routines.
//
@@ -2073,6 +2073,7 @@ Fl_Help_View::format_table(int *table_width, // O - Total table width
colspan = 0;
max_width = 0;
pre = 0;
needspace = 0;
// Scan the table...
for (ptr = table, column = -1, width = 0, s = buf, incell = 0; *ptr;)
@@ -3579,5 +3580,5 @@ scrollbar_callback(Fl_Widget *s, void *)
//
// End of "$Id: Fl_Help_View.cxx,v 1.1.2.4 2001/10/02 16:54:45 easysw Exp $".
// End of "$Id: Fl_Help_View.cxx,v 1.1.2.5 2001/10/16 20:25:24 easysw Exp $".
//
+3 -2
View File
@@ -1,5 +1,5 @@
//
// "$Id: fl_draw.cxx,v 1.6.2.4.2.4 2001/09/02 11:23:27 easysw Exp $"
// "$Id: fl_draw.cxx,v 1.6.2.4.2.5 2001/10/16 20:25:25 easysw Exp $"
//
// Label drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -196,6 +196,7 @@ void fl_draw(
for (p=str; ; ypos += height) {
if (lines>1) e = expand(p, buf, w - symtotal, buflen, width,
align&FL_ALIGN_WRAP);
else e = "";
if (width > symoffset) symoffset = (int)(width + 0.5);
@@ -322,5 +323,5 @@ void fl_measure(const char* str, int& w, int& h) {
}
//
// End of "$Id: fl_draw.cxx,v 1.6.2.4.2.4 2001/09/02 11:23:27 easysw Exp $".
// End of "$Id: fl_draw.cxx,v 1.6.2.4.2.5 2001/10/16 20:25:25 easysw Exp $".
//