Author: ianmacarthur
Date: 2008-11-30 10:46:50 -0800 (Sun, 30 Nov 2008)
New Revision: 6533
Log:
STR #2076 - fix typos in fl_font_x.cxx. Basically I am an idiot and had checked
in the wrong version. Sorry.
Modified:
branches/branch-1.3/src/fl_font_x.cxx
Modified: branches/branch-1.3/src/fl_font_x.cxx
===================================================================
--- branches/branch-1.3/src/fl_font_x.cxx 2008-11-29 17:06:31 UTC (rev
6532)
+++ branches/branch-1.3/src/fl_font_x.cxx 2008-11-30 18:46:50 UTC (rev
6533)
@@ -299,10 +299,10 @@
void fl_text_extents(const char *c, int n, int &dx, int &dy, int &W, int &H) {
#warning fl_text_extents is only a test stub in Xlib build at present
- w = 0; h = 0;
- fl_measure(c, &w, &h, 0);
+ W = 0; H = 0;
+ fl_measure(c, W, H, 0);
dx = 0;
- dy = fl_descent() - h;
+ dy = fl_descent() - H;
} // fl_text_extents
@@ -315,7 +315,7 @@
// XDrawString(fl_display, fl_window, fl_gc, x, y, c, n);
XUtf8DrawString(fl_display, fl_window, fl_xfont, fl_gc, x, y, c, n);
}
-
+
//void fl_draw(const char* str, int n, float x, float y) {
// fl_draw(str, n, (int)x, (int)y);
//}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit