summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-08-30 10:01:35 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-08-30 10:01:35 +0000
commit46a890cad315b71773378b804b04a4a742f88817 (patch)
tree05830f4ac4d46bdea42c5a434796625ebb0b9433 /src
parent3303d9d7f5134659400c4b4dd5bae16435c56857 (diff)
Fixed typo in 'desktop-osx' install. Commented out unused variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/fl_font_mac.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx
index 42213825d..fb6e4422b 100644
--- a/src/fl_font_mac.cxx
+++ b/src/fl_font_mac.cxx
@@ -104,7 +104,7 @@ Fl_FontSize::Fl_FontSize(const char* name, int Size) {
// The font "Apple Chancery" is a pretty extreme example of overlapping letters.
float fa = -FixedToFloat(bAscent), fd = -FixedToFloat(bDescent);
if (fa>0.0f && fd>0.0f) {
- float f = Size/(fa+fd);
+ //float f = Size/(fa+fd);
ascent = fa; //int(fa*f+0.5f);
descent = fd; //Size - ascent;
}