summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2011-01-25 22:16:49 +0000
committerMatthias Melcher <fltk@matthiasm.com>2011-01-25 22:16:49 +0000
commit5e0710fcd05779725e1ec69e7cdbb213f795834f (patch)
tree061002c1acc8b869499ba7ca5e3f044cfcc7f608 /src
parent7b832a512e9bc39e39802cfc81ac7de7d32017a4 (diff)
Stupid bug removed
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8315 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 6002bc10a..222cc6a98 100644
--- a/src/fl_font_mac.cxx
+++ b/src/fl_font_mac.cxx
@@ -312,7 +312,7 @@ if (fl_mac_os_version >= 0x1050) {
i++; // because a pair of UniChar's represent a single character
continue;
}
- unsigned int r = uni >> 9; // index of the character block containing uni
+ unsigned int r = uni >> 7; // index of the character block containing uni
if (!fl_fontsize->width[r]) { // this character block has not been hit yet
//fprintf(stderr,"r=%d size=%d name=%s\n",r,fl_fontsize->size, fl_fontsize->q_name);
// allocate memory to hold width of each character in the block