STR #2076 - fix typos in fl_font_x.cxx. Basically I am an idiot and had checked in the wrong version. Sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
17e38137d8
commit
cfc5853ae7
@ -299,10 +299,10 @@ double fl_width(unsigned int c) {
|
|||||||
|
|
||||||
void fl_text_extents(const char *c, int n, int &dx, int &dy, int &W, int &H) {
|
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
|
#warning fl_text_extents is only a test stub in Xlib build at present
|
||||||
w = 0; h = 0;
|
W = 0; H = 0;
|
||||||
fl_measure(c, &w, &h, 0);
|
fl_measure(c, W, H, 0);
|
||||||
dx = 0;
|
dx = 0;
|
||||||
dy = fl_descent() - h;
|
dy = fl_descent() - H;
|
||||||
} // fl_text_extents
|
} // fl_text_extents
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user